Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 2,310 for Contains (0.15 seconds)

  1. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for directory traversal
            if (path.contains("..") || path.contains("./") || path.contains(".\\")) {
                failedValidations.incrementAndGet();
                log.warn("Path contains traversal sequences: {}", sanitizeForLog(path));
                throw new SmbException("Path contains directory traversal");
            }
    
            // Check individual components
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java

            if (nodeEnv.availableIndexFoldersForPath(nodePath).size() != numIndices) {
                throw new IllegalStateException("bad size");
            }
            if (nodeEnv.availableIndexFoldersForPath(nodePath, excludedDirs::contains).size() != 0) {
                throw new IllegalStateException("bad size");
            }
        }
    
        @Benchmark
        public Set<String> availableIndexFolderNaive() throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 27 15:29:12 GMT 2021
    - 3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
         * {@return the string representation of this version}
         */
        @Nonnull
        @Override
        String toString();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.handler;
    
    /**
     * An artifact handler contains information explaining how an artifact plugs into the Maven build:<ul>
     * <li>Information needed to find the artifact file in a repository including extension and classifier</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth { #http-basic-auth }
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            }
            return pairs;
        }
    
        /**
         * Checks if the AV pairs list contains a pair of the specified type
         *
         * @param pairs the list of AV pairs to search
         * @param type the AV pair type to look for
         * @return whether the list contains a pair of that type
         */
        public static boolean contains(final List<AvPair> pairs, final int type) {
            if (pairs == null) {
                return false;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Table.java

      /**
       * Returns {@code true} if the table contains a mapping with the specified row and column keys.
       *
       * @param rowKey key of row to search for
       * @param columnKey key of column to search for
       */
      boolean contains(
          @CompatibleWith("R") @Nullable Object rowKey,
          @CompatibleWith("C") @Nullable Object columnKey);
    
      /**
       * Returns {@code true} if the table contains a mapping with the specified row key.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       */
      int outDegree(N node);
    
      /**
       * Returns true if there is an edge that directly connects {@code nodeU} to {@code nodeV}. This is
       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}.
       *
       * <p>In an undirected graph, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
       */
      boolean hasEdgeConnecting(N nodeU, N nodeV);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        assertThat(cache.asMap().values().contains(22)).isTrue();
        assertThat(cache.asMap().values().contains(10)).isTrue();
        assertThat(cache.asMap().values().contains(20)).isFalse();
      }
    
      @Test
      @J2ktIncompatible
      public void asMapKeySet() {
        Cache<Integer, Integer> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top