Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 835 for Sets (0.18 sec)

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

      @Override
      public void setUp() {
        friends = Sets.newHashSet("Tom", "Joe", "Dave");
        enemies = Sets.newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/ReferenceEntry.java

      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
      void setNextInAccessQueue(ReferenceEntry<K, V> next);
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. internal/deadlineconn/deadlineconn.go

    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	writeDeadline time.Duration // sets the write deadline on a connection.
    }
    
    // Sets read deadline
    func (c *DeadlineConn) setReadDeadline() {
    	if c.readDeadline > 0 {
    		c.SetReadDeadline(time.Now().UTC().Add(c.readDeadline))
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Nov 05 18:09:21 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addEdge(N1, N2, E13);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node/edge sets are the same, but node/edge connections differ due to edge type.
      @Test
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

        private Path projectDirectory;
    
        @Override
        public List<String> getActiveProfileIds() {
            return activeProfileIds;
        }
    
        /**
         * Sets the identifiers of those profiles that should be activated by explicit demand.
         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This context, never {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     *   <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}.
     *   <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
     *   <li>{@code softValues}: sets {@link CacheBuilder#softValues}.
     *   <li>{@code weakValues}: sets {@link CacheBuilder#weakValues}.
     *   <li>{@code recordStats}: sets {@link CacheBuilder#recordStats}.
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          this.taskRunner = okHttpClient.taskRunner
        }
    
        /**
         * Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.
         */
        fun dispatcher(dispatcher: Dispatcher) =
          apply {
            this.dispatcher = dispatcher
          }
    
        /**
         * Sets the connection pool used to recycle HTTP and HTTPS connections.
         *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *   <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}.
     *   <li>{@code weakKeys}: sets {@link CacheBuilder#weakKeys}.
     *   <li>{@code softValues}: sets {@link CacheBuilder#softValues}.
     *   <li>{@code weakValues}: sets {@link CacheBuilder#weakValues}.
     *   <li>{@code recordStats}: sets {@link CacheBuilder#recordStats}.
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    	tmpFormat.Erasure.This = ""
    	if len(reference.Erasure.Sets) != len(format.Erasure.Sets) {
    		return fmt.Errorf("Expected number of sets %d, got %d", len(reference.Erasure.Sets), len(format.Erasure.Sets))
    	}
    
    	// Make sure that the sets match.
    	for i := range reference.Erasure.Sets {
    		if len(reference.Erasure.Sets[i]) != len(format.Erasure.Sets[i]) {
    			return fmt.Errorf("Each set should be of same size, expected %d got %d",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetOperationsTest.java

      @Override
      public void setUp() {
        friends = Sets.newHashSet("Tom", "Joe", "Dave");
        enemies = Sets.newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top