Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,061 for EMPTY (0.03 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // occur in practice.
        if (safeMin >= Character.MIN_HIGH_SURROGATE) {
          // The safe range is empty or the all safe code points lie in or above the
          // surrogate range. Either way the character range is empty.
          this.safeMinChar = Character.MAX_VALUE;
          this.safeMaxChar = 0;
        } else {
          // The safe range is non-empty and contains values below the surrogate
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            }
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate
       * implementation for Joiner since it fails on leading empty components.
       */
      @Benchmark
      int stringBuilderIsEmpty(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        @Test
        @DisplayName("writeBytesWireFormat handles empty string gracefully")
        void testWriteEmptyString() {
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            SmbComQueryInformation emptyCmd = new SmbComQueryInformation(mockConfig, "");
            byte[] buffer = new byte[10];
            int used = emptyCmd.writeBytesWireFormat(buffer, 0);
            assertEquals(2, used, "Empty path results in only command byte and NUL");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/CopyUtil.java

         *
         * @param in the input file (must not be {@literal null})
         * @param inputEncoding the input file encoding (must not be {@literal null} or empty)
         * @param out the output file (must not be {@literal null})
         * @param outputEncoding the output file encoding (must not be {@literal null} or empty)
         * @return the number of characters copied
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            assertArrayEquals(emptyHash, avChannelBindings.getRaw(), "Value should be an empty array when empty hash is provided");
        }
    
        /**
         * Test that the constructor stores the reference to the input byte array.
         * Note: The implementation does not create a defensive copy.
         */
        @Test
        void testConstructorStoresReference() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * Sets a converter for dates.
         *
         * @param pattern
         *            The date pattern. Must not be {@literal null} or an empty string.
         * @param propertyNames
         *            The property names to which this converter will be applied. Each element must not be {@literal null} or an empty string.
         * @return This instance itself
         * @see DateConverter
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/LineIterator.java

     */
    public class LineIterator implements Iterator<String> {
    
        /** String object indicating that {@link #line} is empty */
        protected static final String EMPTY = new String();
    
        /** {@link BufferedReader} */
        protected final BufferedReader reader;
    
        /** The line that has been read */
        protected String line = EMPTY;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

    @SuppressWarnings("serial")
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      static final RegularImmutableBiMap<Object, Object> EMPTY =
          new RegularImmutableBiMap<Object, Object>();
    
      private final ImmutableBiMap<V, K> inverse;
    
      @SuppressWarnings("unchecked") // used only for the empty map, which works for any types
      RegularImmutableBiMap() {
        super(new RegularImmutableMap<K, V>(new HashMap<K, V>()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

        }
    
        public void test_setAndGetDocumentItems() {
            // Test with null
            searchRenderData.setDocumentItems(null);
            assertNull(searchRenderData.getDocumentItems());
    
            // Test with empty list
            List<Map<String, Object>> emptyList = new ArrayList<>();
            searchRenderData.setDocumentItems(emptyList);
            assertEquals(emptyList, searchRenderData.getDocumentItems());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top