Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,708 for lengths (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          return new Entry[length];
        }
    
        @Override
        public Iterable<Entry<String, Collection<Integer>>> order(
            List<Entry<String, Collection<Integer>>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public String[] createKeyArray(int length) {
          return new String[length];
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
            assertTrue(buffer.length > 0, "Buffer size should be positive");
            assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertEquals(0, tags.length);
    
            // Test null
            tags = PrunedTag.parse(null);
            assertEquals(0, tags.length);
    
            // Test whitespace only
            tags = PrunedTag.parse("   ");
            assertEquals(0, tags.length);
    
            // Test commas only
            tags = PrunedTag.parse(",,,");
            assertEquals(0, tags.length);
    
            // Test mixed whitespace and commas
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertEquals(0, result.length);
    
            // Unmatched quote at end
            value = "unmatched\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(0, result.length);
    
            // Unmatched quotes in middle
            value = "valid,\"unmatched,another";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(0, result.length);
    
            // Multiple unmatched quotes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            /**
             * Get the notification message length
             *
             * @return message length in bytes
             */
            public int getLength() {
                return length;
            }
    
            /**
             * Sets the notification message length.
             *
             * @param length the message length in bytes
             */
            public void setLength(int length) {
                this.length = length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        for (int i = 0; i < reps; i++) {
          for (int n = 0; n < chars.length; n++) {
            dummy ^= Ascii.isUpperCase(chars[n]);
          }
        }
        return dummy;
      }
    
      static String charSequenceToUpperCase(CharSequence chars) {
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = Ascii.toUpperCase(chars.charAt(i));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertNotNull(response);
            assertEquals(24, response.length);
        }
    
        // Test getNTLMResponse
        @Test
        void testGetNTLMResponse() {
            byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 };
            byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge);
            assertNotNull(response);
            assertEquals(24, response.length);
        }
    
        // Test getLMv2Response
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

         * of this method.
         */
        void putAll(LockFreeBitArray other) {
          checkArgument(
              data.length() == other.data.length(),
              "BitArrays must be of equal length (%s != %s)",
              data.length(),
              other.data.length());
          for (int i = 0; i < data.length(); i++) {
            putData(i, other.data.get(i));
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping");
        }
    
        @Test
        @DisplayName("Each error code mapping contains exactly two ints")
        void testEachPairLength() {
            for (int i = 0; i < DosError.DOS_ERROR_CODES.length; i++) {
                int[] pair = DosError.DOS_ERROR_CODES[i];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        // step through the CharSequence 2 chars at a time
        for (int i = 1; i < input.length(); i += 2) {
          int k1 = input.charAt(i - 1) | (input.charAt(i) << 16);
          k1 = mixK1(k1);
          h1 = mixH1(h1, k1);
        }
    
        // deal with any remaining characters
        if ((input.length() & 1) == 1) {
          int k1 = input.charAt(input.length() - 1);
          k1 = mixK1(k1);
          h1 ^= k1;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top