Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 509 for attempt (0.05 sec)

  1. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final Path safePath = baseDir.resolve("subdir/file.txt");
    
            assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir));
        }
    
        /**
         * Test isPathSafe with path traversal attempt
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_PathTraversalAttempt() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    make every effort to reuse existing connections to avoid this overhead and added latency.
    
    Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into the connection pool. For HTTP/2, the connection can be reused immediately. For HTTP/1, the request must be completed before it can...
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. gradlew

    #       within the Gradle project.
    #
    #       You can find Gradle at https://github.com/gradle/gradle/.
    #
    ##############################################################################
    
    # Attempt to set APP_HOME
    
    # Resolve links: $0 may be a link
    app_path=$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=${app_path%"${app_path##*/}"}  # leaves a trailing /; empty if no leading path
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 18 20:55:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RangeMap.java

       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser_test.go

    	testCases := []struct {
    		inputSignElement string
    		expectedSignStr  string
    		expectedErrCode  APIErrorCode
    	}{
    		// Test case - 1.
    		// SignElement doesn't have 2 parts on an attempt to split at '='.
    		// ErrMissingFields expected.
    		{
    			inputSignElement: "Signature",
    			expectedSignStr:  "",
    			expectedErrCode:  ErrMissingFields,
    		},
    		// Test case - 2.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:35 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. docs/recipes.md

        ```kotlin
        if (credential == response.request.header("Authorization")) {
          return null // If we already failed with these credentials, don't retry.
         }
        ```
    
        You may also skip the retry when you’ve hit an application-defined attempt limit:
    
        ```kotlin
        if (response.responseCount >= 3) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/ResourceManager.java

                    activeResources.remove(entry.getKey());
                    cleaned++;
                } else if (!holder.closed && holder.getAge() > maxResourceAge * 2) {
                    // Very old unclosed resource - attempt to close it
                    AutoCloseable resource = holder.resourceRef.get();
                    if (resource != null) {
                        try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
       * the caveat that an {@link IllegalArgumentException} is thrown on an attempt to {@linkplain
       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    				onlineDisks[i] = nil
    				continue
    			}
    
    			if !meta.Deleted {
    				if len(meta.Erasure.Distribution) != len(onlineDisks) {
    					// Erasure distribution is not the same as onlineDisks
    					// attempt a fix if possible, assuming other entries
    					// might have the right erasure distribution.
    					partsMetadata[i] = FileInfo{}
    					metaErrs[i] = errFileCorrupt
    					onlineDisks[i] = nil
    					continue
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. tests/prepared_stmt_test.go

    		t.Fatalf("Failed, got error: %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    
    	tx2.Commit()
    	// Attempt to convert the connection pool of tx to the *gorm.PreparedStmtDB type.
    	// If the conversion is successful, ok will be true and conn will be the converted object;
    	// otherwise, ok will be false and conn will be nil.
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top