Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 2,832 for contains (0.12 seconds)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

      public void testContains() {
        assertThat(Shorts.contains(EMPTY, (short) 1)).isFalse();
        assertThat(Shorts.contains(ARRAY1, (short) 2)).isFalse();
        assertThat(Shorts.contains(ARRAY234, (short) 1)).isFalse();
        assertThat(Shorts.contains(new short[] {(short) -1}, (short) -1)).isTrue();
        assertThat(Shorts.contains(ARRAY234, (short) 2)).isTrue();
        assertThat(Shorts.contains(ARRAY234, (short) 3)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

      fun newBuilder(): Builder = Builder(this)
    
      /**
       * Returns the cache control directives for this response. This is never null, even if this
       * response contains no `Cache-Control` header.
       */
      @get:JvmName("cacheControl")
      val cacheControl: CacheControl
        get() {
          var result = lazyCacheControl
          if (result == null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  3. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            }
            // If we're still here, there was a race, so just try again.
          }
        }
    
        /**
         * Removes a number of occurrences of the specified element from this multiset. If the multiset
         * contains fewer than this number of occurrences to begin with, all occurrences will be
         * removed.
         *
         * @param element the element whose occurrences should be removed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. docs/en/docs/python-types.md

    #### List { #list }
    
    For example, let's define a variable to be a `list` of `str`.
    
    Declare the variable, with the same colon (`:`) syntax.
    
    As the type, put `list`.
    
    As the list is a type that contains some internal types, you put them in square brackets:
    
    {* ../../docs_src/python_types/tutorial006_py310.py hl[1] *}
    
    /// info
    
    Those internal types in the square brackets are called "type parameters".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Lists.java

        @ParametricNullness
        public E set(int index, @ParametricNullness E element) {
          return backingList.set(index, element);
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          return backingList.contains(o);
        }
    
        @Override
        public int size() {
          return backingList.size();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).containsExactly(0, 45);
    
        // add an over-the-maximum-weight entry
        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Verify error message is clear and helpful
                assertNotNull(exception.getMessage());
                assertTrue(exception.getMessage().contains("Expected structureSize = 4"));
            }
    
            @Test
            @DisplayName("Should handle zero structure size")
            void testZeroStructureSize() {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertTrue(docString.contains("<SCRIPT>"));
            assertTrue(docString.contains("foo"));
            assertTrue(docString.contains("<NOSCRIPT>"));
            assertTrue(docString.contains("bar"));
            assertTrue(pnString.contains("<SCRIPT>"));
            assertTrue(pnString.contains("foo"));
            assertFalse(pnString.contains("<NOSCRIPT>"));
            assertFalse(pnString.contains("bar"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/security/oauth2-scopes.md

                                * `security_scopes.scopes` will contain `["me", "items"]` for the *path operation* `read_own_items`.
                                * `security_scopes.scopes` will contain `["me"]` for the *path operation* `read_users_me`, because it is declared in the dependency `get_current_active_user`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. cmd/utils.go

    	}
    	tlsConfig.CurvePreferences = crypto.TLSCurveIDs()
    	return tlsConfig
    }
    
    /////////// Types and functions for OpenID IAM testing
    
    // OpenIDClientAppParams - contains openID client application params, used in
    // testing.
    type OpenIDClientAppParams struct {
    	ClientID, ClientSecret, ProviderURL, RedirectURL string
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
Back to Top