Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,044 for need (0.04 sec)

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

          assertThrows(
              NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls));
        }
      }
    
      // We need to test that asList() really does return the original list.
      @SuppressWarnings("InlineMeInliner")
      public void testAsList() {
        ImmutableList<String> list = ImmutableList.of("a", "b");
        assertSame(list, list.asList());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         * place. For example at the time of this writing the readXxxWireFormat
         * for requests and the writeXxxWireFormat for responses are not implemented
         * and simply return 0. These would need to be completed for a server
         * implementation.
         */
    
        /** SMB2 negotiate protocol command */
        protected static final short SMB2_NEGOTIATE = 0x00;
        /** SMB2 session setup command */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        sampleDataList.addAll(misses);
        Collections.shuffle(sampleDataList);
        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    	// server admin credentials change. This is done to ensure
    	// that clients cannot decode the token using the temp
    	// secret keys and generate an entirely new claim by essentially
    	// hijacking the policies. We need to make sure that this is
    	// based on admin credential such that token cannot be decoded
    	// on the client side and is treated like an opaque value.
    	claims, err := auth.ExtractClaims(token, secret)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
            // need to fully resolve it before any submodules use the path. This can happen
            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    			}
    		}
    		if string(tmp[:]) != "\n\r\n" {
    			if cr.debug {
    				fmt.Printf("signature, want %q, got %q", "\n\r\n", string(tmp[:]))
    			}
    			return errMalformedEncoding
    		}
    		// No need to write final newlines to buffer.
    		break
    	}
    
    	// Verify signature.
    	sig := signatureBuffer.Bytes()
    	if !bytes.HasPrefix(sig, []byte("x-amz-trailer-signature:")) {
    		if cr.debug {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      private static ImmutableDoubleArray makeArray(Double[] values) {
        return ImmutableDoubleArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
      // classes with a public default constructor (not that we run these suites under GWT yet).
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      @AndroidIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimap.java

     *
     * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise
     * have appeared. The differences include:
     *
     * <ul>
     *   <li>There is no need to populate an empty collection before adding an entry with {@link #put
     *       put}.
     *   <li>{@code get} never returns {@code null}, only an empty collection.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SecureKeyManager.java

                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
                // If we need more bytes, hash again with counter
                int counter = 1;
                while (derived.length > hash.length * counter) {
                    md.update(input);
                    md.update((byte) counter);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    	for _, piece := range pieces {
    		if len(piece) == 0 || piece[0] == '-' ||
    			piece[len(piece)-1] == '-' {
    			// Current piece has 0-length or starts or
    			// ends with a hyphen.
    			return false
    		}
    		// Now only need to check if each piece is a valid
    		// 'label' in AWS terminology and if the bucket looks
    		// like an IP address.
    		isNotNumber := false
    		for i := range len(piece) {
    			switch {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top