Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,376 for sizeof (0.1 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegateList().containsAll(targets);
      }
    
      @Override
      public int size() {
        return delegateList().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegateList().isEmpty();
      }
    
      @Override
      public <T extends @Nullable Object> T[] toArray(T[] other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

                int index = Math.abs((int) (affinityKey % list.size()));
                return list.get(index);
            }
    
            // No affinity, use weighted random
            return selectWeightedRandom(channels);
        }
    
        private ChannelInfo selectAdaptive(CommonServerMessageBlock message, Collection<ChannelInfo> channels) {
            // Adaptive strategy based on message type and size
    
            if (isLargeTransfer(message)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertNull(map.getInstance(Integer.class));
        assertEquals(2, map.size());
      }
    
      public void testParameterizedType() {
        TypeToken<ImmutableList<Integer>> type = new TypeToken<ImmutableList<Integer>>() {};
        map.putInstance(type, ImmutableList.of(1));
        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertEquals(2, activeStatuses.size());
            assertTrue(activeStatuses.contains(CrawlerStatus.INITIALIZING));
            assertTrue(activeStatuses.contains(CrawlerStatus.RUNNING));
            assertFalse(activeStatuses.contains(CrawlerStatus.DONE));
    
            // Create empty EnumSet
            EnumSet<CrawlerStatus> emptySet = EnumSet.noneOf(CrawlerStatus.class);
            assertEquals(0, emptySet.size());
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void largeMessageIsReadCorrectly() throws IOException {
            // Create a message with 1000 bytes
            int size = 1000;
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
    
            byte[] fullData = concat(messageHeader(size), data);
            InputStream in = new ByteArrayInputStream(fullData);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

    /**
     * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s
     * that wrap {@link MessageDigest}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.).
     *   <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API).
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

    /**
     * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s
     * that wrap {@link MessageDigest}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.).
     *   <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API).
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            this.directory = (buffer[bufferIndex++] & 0xFF) > 0;
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 22;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Response.java

         *
         * @param buffer the buffer containing the signature data
         * @param i the starting index in the buffer
         * @param size the size of the signature data
         * @return whether signature verification is successful
         */
        boolean verifySignature(byte[] buffer, int i, int size);
    
        /**
         * Checks if signature verification failed.
         *
         * @return whether signature verification failed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

                + "duplicate element in the list",
            firstIndex == getList().indexOf(duplicate));
        assertEquals(
            "remove(present) should decrease the size of a list by one.",
            initialSize - 1,
            getList().size());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top