Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for hver (0.21 sec)

  1. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

        }
      }
    
      public void testPutAfterHash() {
        Hasher sha1 = Hashing.sha1().newHasher();
    
        assertEquals(
            "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
            sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8)
                .hash()
                .toString());
        assertThrows(IllegalStateException.class, () -> sha1.putInt(42));
      }
    
      public void testHashTwice() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/EscapersTest.java

        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertEquals("Xhe_Xuick_Xrown_Xox_", builder.build().escape("The Quick Brown Fox!"));
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         */
        enum RepositoryMerging {
    
            /**
             * The repositories declared in the POM have precedence over the repositories specified in the request.
             */
            POM_DOMINANT,
    
            /**
             * The repositories specified in the request have precedence over the repositories declared in the POM.
             */
            REQUEST_DOMINANT,
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedIterable.java

       * Ordering.natural()} if the elements are ordered by their natural ordering.
       */
      Comparator<? super T> comparator();
    
      /**
       * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing
       * order according to the associated {@link #comparator}.
       */
      @Override
      Iterator<T> iterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 02:13:00 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  6. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    
    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  7. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

    import javax.net.ServerSocketFactory;
    import jnr.unixsocket.UnixServerSocketChannel;
    import jnr.unixsocket.UnixSocketAddress;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style ServerSocketFactory over UNIX domain sockets. */
    public final class UnixDomainServerSocketFactory extends ServerSocketFactory {
      private final File path;
    
      public UnixDomainServerSocketFactory(File path) {
        this.path = path;
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Flushables.java

    @ElementTypesAreNonnullByDefault
    public final class Flushables {
      private static final Logger logger = Logger.getLogger(Flushables.class.getName());
    
      private Flushables() {}
    
      /**
       * Flush a {@link Flushable}, with control over whether an {@code IOException} may be thrown.
       *
       * <p>If {@code swallowIOException} is true, then we don't rethrow {@code IOException}, but merely
       * log it.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

        // TODO this is only to provide a project for plugins that don't need a project to execute but need some
        // of the values from a MavenProject. Ideally this should be something internal and nothing outside Maven
        // would ever need this so it should not be exposed in a public API
        MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            this.dialects = new int[dvs.size()];
            int i = 0;
            for ( DialectVersion ver : dvs ) {
                this.dialects[ i ] = ver.getDialect();
                i++;
            }
    
            if ( config.getMaximumVersion().atLeast(DialectVersion.SMB210) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.5K bytes
    - Viewed (0)
Back to top