test_class.file: core/src/test/java/org/carrot2/util/MutableCharArrayUtilsTest.java
test_class.identifier: MutableCharArrayUtilsTest
test_class.superclass: extends TestBase
test_case.body: @Test
    public void toLowerCaseNoWithReallocation() {
      final MutableCharArray source = new MutableCharArray("ŁÓdŹ");
      final MutableCharArray result = new MutableCharArray("abc");
  
      Assertions.assertThat(MutableCharArrayUtils.toLowerCase(source, result)).isTrue();
      Assertions.assertThat(result.getBuffer()).isEqualTo("łódź".toCharArray());
    }
test_case.class_method_signature: MutableCharArrayUtilsTest.toLowerCaseNoWithReallocation()
test_case.full_signature: @Test public void toLowerCaseNoWithReallocation()
test_case.identifier: toLowerCaseNoWithReallocation
test_case.invocations: isTrue assertThat toLowerCase isEqualTo assertThat getBuffer harArray())
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toLowerCaseNoWithReallocation()
focal_class.file: core/src/main/java/org/carrot2/util/MutableCharArrayUtils.java
focal_class.identifier: MutableCharArrayUtils
focal_class.class_method_signature: MutableCharArrayUtils.toLowerCase(MutableCharArray source, MutableCharArray result)
focal_class.full_signature: public static boolean toLowerCase(MutableCharArray source, MutableCharArray result)
focal_class.identifier: toLowerCase
focal_class.modifiers: public static
focal_class.parameters: (MutableCharArray source, MutableCharArray result)
focal_class.return: boolean
focal_class.signature: boolean toLowerCase(MutableCharArray source, MutableCharArray result)
focal_method.body: public static boolean toLowerCase(MutableCharArray source, MutableCharArray result) {
      char[] buffer = result.getBuffer();
  
      final int length = source.length();
      if (buffer.length < length) {
        buffer = new char[length];
      }
  
      final boolean changed =
          CharArrayUtils.toLowerCase(source.getBuffer(), buffer, source.getStart(), source.length());
      result.reset(buffer, 0, length);
  
      return changed;
    }
focal_method.class_method_signature: MutableCharArrayUtils.toLowerCase(MutableCharArray source, MutableCharArray result)
focal_method.full_signature: public static boolean toLowerCase(MutableCharArray source, MutableCharArray result)
focal_method.identifier: toLowerCase
focal_method.invocations: getBuffer length toLowerCase getBuffer getStart length reset
focal_method.modifiers: public static
focal_method.parameters: (MutableCharArray source, MutableCharArray result)
focal_method.return: boolean
focal_method.signature: boolean toLowerCase(MutableCharArray source, MutableCharArray result)