Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 894 for both (0.02 seconds)

  1. fastapi/dependencies/utils.py

            # Import an attribute that can be mocked/deleted in testing
            assert __version__ > "0.0.12"
        except (ImportError, AssertionError):
            try:
                # __version__ is available in both multiparts, and can be mocked
                from multipart import (  # type: ignore[no-redef,import-untyped]  # ty: ignore[unused-ignore-comment]
                    __version__,
                )
    
                assert __version__
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import java.util.concurrent.locks.LockSupport;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  3. cmd/bucket-object-lock.go

    // For objects in "Compliance" mode, retention date cannot be shortened, and mode cannot be altered.
    // For objects with legal hold header set, the s3:PutObjectLegalHold permission is expected to be set
    // Both legal hold and retention can be applied independently on an object
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            }
            queryBuf.append(query);
            if (exists) {
                queryBuf.append(')');
            }
        }
    
        /**
         * Builds the base query string from search parameters.
         * Handles both condition-based queries and simple text queries, including related query expansion.
         *
         * @return the base query string
         */
        protected String buildBaseQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      public void testCompare() {
        // max value
        assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0)).isGreaterThan(0);
    
        // both with high bit set
        assertThat(UnsignedLongs.compare(0xff1a618b7f65ea12L, 0xffffffffffffffffL)).isLessThan(0);
        assertThat(UnsignedLongs.compare(0xffffffffffffffffL, 0xff1a618b7f65ea12L)).isGreaterThan(0);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        if (!disjoint(allPresentFeatures, allAbsentFeatures)) {
          throw new ConflictingRequirementsException(
              "Annotation explicitly or "
                  + "implicitly requires one or more features to be both present "
                  + "and absent.",
              intersection(allPresentFeatures, allAbsentFeatures),
              testerAnnotation);
        }
        return new TesterRequirements(allPresentFeatures, allAbsentFeatures);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

         */
        @Override
        public byte[] getSigningKey() throws SmbException {
            /*
             * The kerberos session key is not accessible via the JGSS API. IBM and
             * Oracle both implement a similar API to make an ExtendedGSSContext
             * available. That API is accessed via reflection to make this independent
             * of the runtime JRE
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  8. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Should produce different ciphertexts due to random IV
            assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
    
            // But both should decrypt to same plaintext
            char[] decrypted1 = storage.decryptCredentials(encrypted1);
            char[] decrypted2 = storage.decryptCredentials(encrypted2);
    
            assertArrayEquals(plaintext, decrypted1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            SuggestSettings settings1 = builder.build(client, "id1");
            SuggestSettings settings2 = builder.build(client, "id2");
    
            assertNotNull(settings1);
            assertNotNull(settings2);
            // Both should be created with the same configuration
            assertEquals("multi_index", builder.settingsIndexName);
            assertEquals("multiValue", builder.initialSettings.get("multi.key"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Predicates.java

        return new AndPredicate<T>(defensiveCopy(components));
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if both of its components evaluate to {@code
       * true}. The components are evaluated in order, and evaluation will be "short-circuited" as soon
       * as a false predicate is found.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top