Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,147 for ARRAY (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for CompactLinkedHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    @NullUnmarked
    public class CompactLinkedHashSetTest extends TestCase {
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            assert i == body.length;
            return body;
        }
    
        /**
         * Build a CREATE response body with a single, unrecognized create context.
         * The parser should iterate it but produce an empty contexts array.
         */
        private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {
            // Base body part size (up to and including CreateContextsLength)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     * 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>
     *
     * @author Kurt Alfred Kluever
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

     * 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>
     *
     * @author Kurt Alfred Kluever
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/io/TraversalUtil.java

            return getTraverser(url, null, rootDir);
        }
    
        /**
         * Returns an array of {@link Traverser} instances that handle collections of classes or resources based on the specified root package.
         *
         * @param rootPackage
         *            The root package.
         * @return An array of {@link Traverser} instances that handle collections of resources based on the specified root package.
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the DFS root entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the DFS roots
         */
        public FileEntry[] getEntries() {
            final netdfs.DfsEnumArray200 a200 = (netdfs.DfsEnumArray200) info.e;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            assertTrue(result.contains("dataLength=1024"));
            assertTrue(result.contains("dataOffset=54"));
        }
    
        // Helper method to write a 2-byte integer to a byte array
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

            override fun checkClientTrusted(
              x509Certificates: Array<X509Certificate>,
              s: String,
            ) {
            }
    
            override fun checkServerTrusted(
              x509Certificates: Array<X509Certificate>,
              s: String,
            ) {
            }
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
        client =
          client
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          }
        }
        return null;
      }
    
      private static <T> T createEmptyArray(Class<T> arrayType) {
        // getComponentType() is non-null because we call createEmptyArray only with an array type.
        return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0));
      }
    
      // Internal implementations of some classes, with public default constructor that get() needs.
      private static final class Dummies {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
        if (b.hasArray()) {
          putBytes(b.array(), b.arrayOffset() + b.position(), b.remaining());
          Java8Compatibility.position(b, b.limit());
        } else {
          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            putByte(b.get());
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top