Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 2,232 for Docstring (0.11 seconds)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        @Test
        public void test_toString() {
            // Test toString method
            String message = "Dictionary parse error";
            Exception cause = new NullPointerException("NPE occurred");
            DictionaryException exception = new DictionaryException(message, cause);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            assertEquals(6, close.writeParameterWordsWireFormat(new byte[10], 0));
        }
    
        /**
         * The toString representation should include the class name and both
         * fields.  This provides visibility into the debug output of the SMB
         * packet.
         */
        @Test
        @DisplayName("happy: toString contains class info and field values")
        void testToStringContainsAllInfo() {
            int fid = 256;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

            for (ValidationMessage message : messages) {
                getLogger().error("[validate {}][ERROR][{}][{}]", fileType, file.getName(), message.toString());
                errors.computeIfAbsent(file, k -> new LinkedHashSet<>())
                    .add(String.format("%s: %s", file.getAbsolutePath(), message.toString()));
            }
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                return new String[] { value.toString() };
            }
            if (value instanceof String[]) {
                return (String[]) value;
            }
            if (value instanceof List) {
                return ((List<?>) value).stream().map(Object::toString).toArray(String[]::new);
            }
            if (value != null) {
                return new String[] { value.toString() };
            }
    
            return new String[0];
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      private static final class EqualsBasedOnToString {
        private final String s;
    
        private EqualsBasedOnToString(String s) {
          this.s = s;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj != null && obj.toString().equals(toString());
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

        }
    
        @Override
        public String toString() {
            return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode());
        }
    
        protected abstract String doBuildColumnString(String dm);
    
        @Override
        public String toStringWithRelation() { // #pending
            return toString();
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            result = 31 * result + methodDescriptor.hashCode();
            result = 31 * result + replacedAccessors.hashCode();
            return result;
        }
    
        @Override
        public String toString() {
            return "UpgradedProperty{" +
                "propertyName='" + propertyName + '\'' +
                ", methodName='" + methodName + '\'' +
                ", methodDescriptor='" + methodDescriptor + '\'' +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 13 19:17:41 GMT 2024
    - 8K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            StringBuilder sb = new StringBuilder();
            try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
              CharStreams.copy(reader, sb);
            }
            return sb.toString();
          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractMultiset.java

        return entrySet().hashCode();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation returns the result of invoking {@code toString} on {@link
       * Multiset#entrySet()}.
       */
      @Override
      public final String toString() {
        return entrySet().toString();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            StringBuilder sb = new StringBuilder();
            try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
              CharStreams.copy(reader, sb);
            }
            return sb.toString();
          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top