Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,253 for setS (0.03 sec)

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

        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, "b"));
      }
    
      public void test_contains_nonnull_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on
       * {@link #listenersField}.
       */
      final boolean casListeners(@Nullable Listener expect, Listener update) {
        return ATOMIC_HELPER.casListeners(this, expect, update);
      }
    
      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#getAndSet get-and-set} operation on {@link
       * #listenersField}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingListIterator.java

      public E previous() {
        return delegate().previous();
      }
    
      @Override
      public int previousIndex() {
        return delegate().previousIndex();
      }
    
      @Override
      public void set(@ParametricNullness E element) {
        delegate().set(element);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

        /**
         * Get the repository the metadata was located in.
         *
         * @return the repository
         */
        ArtifactRepository getRepository();
    
        /**
         * Set the repository the metadata was located in.
         *
         * @param remoteRepository the repository
         */
        void setRepository(ArtifactRepository remoteRepository);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. .github/workflows/mint/nginx-8-node.conf

            listen  [::]:9000;
            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. ci/official/bisect.sh

    # limitations under the License.
    # ==============================================================================
    # Run any CI script and env configuration to bisect a failing target in some
    # build configuration. You must set the following variables to control this
    # script:
    #
    #   TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job)
    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public NavigableMap<K, V> descendingMap() {
        return new SafeTreeMap<>(delegate.descendingMap());
      }
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        return new AbstractSet<Entry<K, V>>() {
          private Set<Entry<K, V>> delegate() {
            return delegate.entrySet();
          }
    
          @Override
          public boolean contains(Object object) {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // Mock DFS resolver
            when(ctx.getDfs()).thenReturn(dfsResolver);
        }
    
        // Helper to set private field 'tree'
        private static void setTree(SmbTreeConnection c, SmbTreeImpl tree) {
            try {
                Field f = SmbTreeConnection.class.getDeclaredField("tree");
                f.setAccessible(true);
                f.set(c, tree);
            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link EndpointPair} and {@link Graph#edges()}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top