Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,237 for setB (0.08 sec)

  1. guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
      int iteration(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMultiset.java

      // Views
    
      @LazyInit @CheckForNull private transient Set<E> elementSet;
    
      @Override
      public Set<E> elementSet() {
        Set<E> result = elementSet;
        if (result == null) {
          elementSet = result = createElementSet();
        }
        return result;
      }
    
      /**
       * Creates a new instance of this multiset's element set, which will be returned by {@link
       * #elementSet()}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.testing.EqualsTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Random;
    import java.util.Set;
    import org.junit.Assert;
    
    /**
     * Various utilities for testing {@link HashFunction}s.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @throws ArtifactNotFoundException if an artifact is not found
         */
        Set<Artifact> resolve(
                MavenProject project,
                Collection<String> scopesToCollect,
                Collection<String> scopesToResolve,
                MavenSession session,
                Set<Artifact> ignorableArtifacts)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. internal/deadlineconn/deadlineconn.go

    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	readSetAt     time.Time
    	writeDeadline time.Duration // sets the write deadline on a connection.
    	writeSetAt    time.Time
    }
    
    // Sets read deadline
    func (c *DeadlineConn) setReadDeadline() {
    	if c.readDeadline > 0 {
    		now := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

        client = TestClient(mod.app)
        return client
    
    
    def test_cookie_param_model(client: TestClient):
        with client as c:
            c.cookies.set("session_id", "123")
            c.cookies.set("fatebook_tracker", "456")
            c.cookies.set("googall_tracker", "789")
            response = c.get("/items/")
        assert response.status_code == 200
        assert response.json() == {
            "session_id": "123",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        /**
         *
         */
        public interface SetType {
    
            /**
             * @return Set
             */
            Set<String> setOfString();
    
            /**
             * @return Set
             */
            Set<Class<?>> setOfClass();
    
            /**
             * @return Set
             */
            Set<?> setOfWildcard();
        }
    
        /**
         *
         */
        public interface MapType {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.6.tgz

    # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # # set objectlocking for # # bucket [true|false] NOTE: versioning is enabled by default if you use locking # objectlocking: false # - name: bucket2 # policy: none # purge: false # versioning: true # # set objectlocking for # # bucket [true|false] NOTE: versioning...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 13 06:53:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top