Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,015 for Prevent (0.07 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      /*
       * TODO: b/112550045 - Use this from Futures.getDone when applicable? Note the small difference in
       * failure message between the two at present.
       */
      final V getFromAlreadyDoneTrustedFuture() throws ExecutionException {
        @RetainedLocalRef Object localValue = value();
        if (localValue == null | localValue instanceof DelegatingToFuture) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
       * *backport*, where ClassValueValidator is not present.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
       * *backport*, where ClassValueValidator is not present.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Signature Verification Tests")
        class SignatureVerificationTests {
    
            @Test
            @DisplayName("Should verify signature when digest is present and successful")
            void testVerifySignatureSuccess() throws Exception {
                byte[] buffer = new byte[1024];
                echoResponse.setDigest(mockDigest);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. fastapi/openapi/docs.py

    from fastapi.encoders import jsonable_encoder
    from starlette.responses import HTMLResponse
    
    
    def _html_safe_json(value: Any) -> str:
        """Serialize a value to JSON with HTML special characters escaped.
    
        This prevents injection when the JSON is embedded inside a <script> tag.
        """
        return (
            json.dumps(value)
            .replace("<", "\\u003c")
            .replace(">", "\\u003e")
            .replace("&", "\\u0026")
        )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

            versions.add(v);
            return versions;
        }
    
        /**
         * Group a set of files by the version in which they first appeared, up until the supplied version. Any files not
         * present in an earlier version are assumed to have been introduced in the specified version.
         *
         * <p>This method works by finding all git tags prior to {@param versionString} in the same minor series, and
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Multiset.java

       */
      @CanIgnoreReturnValue
      int remove(@CompatibleWith("E") @Nullable Object element, int occurrences);
    
      /**
       * Removes a <i>single</i> occurrence of the specified element from this multiset, if present.
       *
       * <p>This method refines {@link Collection#remove} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          checkNonnegative(oldCount, "oldCount");
          checkNonnegative(newCount, "newCount");
          if (newCount == 0) {
            if (oldCount == 0) {
              // No change to make, but must return true if the element is not present
              return !countMap.containsKey(element);
            } else {
              return countMap.remove(element, oldCount);
            }
          }
          if (oldCount == 0) {
    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)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            // This modifies the element in place and marks it as modified
            root.attribute("xmlns", targetNamespace);
            context.detail("Updated namespace to " + targetNamespace);
    
            // Update schema location if present
            String currentSchemaLocation = root.attribute("xsi:schemaLocation");
            if (currentSchemaLocation != null) {
                String newSchemaLocation = getSchemaLocationForModelVersion(targetModelVersion);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. okhttp/build.gradle.kts

      // Set the Java release version.
      options.release.set(9)
    
      // Ignore warnings about using 'requires transitive' on automatic modules.
      // not needed when compiling with recent JDKs, e.g. 17
      options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
      // Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly.
      options.compilerArgs.addAll(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top