Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,027 for implementations (0.09 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

    @ElementTypesAreNonnullByDefault
    public final class BloomFilter<T extends @Nullable Object> implements Predicate<T>, Serializable {
      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
       * <p>Implementations should be collections of pure functions (i.e. stateless).
       */
      interface Strategy extends java.io.Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. docs/recipes.md

    ### Handling authentication ([.kt][AuthenticateKotlin], [.java][AuthenticateJava])
    
    OkHttp can automatically retry unauthenticated requests. When a response is `401 Not Authorized`, an `Authenticator` is asked to supply credentials. Implementations should build a new request that includes the missing credentials. If no credentials are available, return null to skip the retry.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

        return new ByteSource() {
          @Override
          public InputStream openStream() throws IOException {
            return decodingStream(encodedSource.openStream());
          }
        };
      }
    
      // Implementations for encoding/decoding
    
      abstract int maxEncodedSize(int bytes);
    
      abstract void encodeTo(Appendable target, byte[] bytes, int off, int len) throws IOException;
    
      abstract int maxDecodedSize(int chars);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/MoreFiles.java

        String exceptionFile = noSuchFileException.getFile();
        if (exceptionFile == null) {
          /*
           * It's not clear whether this happens in practice, especially with the filesystem
           * implementations that are built into java.nio.
           */
          return null;
        }
        Path parentPath = getParentPath(path);
        if (parentPath == null) {
          /*
           * This is probably impossible:
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/MoreFiles.java

        String exceptionFile = noSuchFileException.getFile();
        if (exceptionFile == null) {
          /*
           * It's not clear whether this happens in practice, especially with the filesystem
           * implementations that are built into java.nio.
           */
          return null;
        }
        Path parentPath = getParentPath(path);
        if (parentPath == null) {
          /*
           * This is probably impossible:
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
      protected final void assertInvariants(Map<K, V> map) {
        Set<K> keySet = map.keySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on values of type {@code long}. Where possible, methods are defined and
     * named analogously to their {@code BigInteger} counterparts.
     *
     * <p>The implementations of many methods in this class are based on material from Henry S. Warren,
     * Jr.'s <i>Hacker's Delight</i>, (Addison Wesley, 2002).
     *
     * <p>Similar functionality for {@code int} and for {@link BigInteger} can be found in {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            //
            cliRequest.request.setEventSpyDispatcher(eventSpyDispatcher);
    
            //
            // We expect at most 2 implementations to be available. The SettingsXmlConfigurationProcessor implementation
            // is always available in the core and likely always will be, but we may have another ConfigurationProcessor
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    		p.errorf("expected g or R0 through R15; found %s", name)
    		return 0
    	}
    	return uint16(reg)
    }
    
    // Note: There are two changes in the expression handling here
    // compared to the old yacc/C implementations. Neither has
    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top