Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 370 for attempts (0.04 sec)

  1. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    								copy(m.mapped[start:], data)
    							}
    							lastValid = m.size - 1
    							missing = 0
    							attempt = 2
    							wantMD5 = m.wantMD5
    						} else {
    							fmt.Println("Could NOT reconstruct:", err, " - Need", m.data, "shards.")
    							if attempt == 0 {
    								if len(combineShared) == 0 {
    									combineShared = make([]byte, len(m.mapped))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. cmd/erasure-errors.go

    // errErasureWriteQuorum - did not meet write quorum.
    var errErasureWriteQuorum = errors.New("Write failed. Insufficient number of drives online")
    
    // errNoHealRequired - returned when healing is attempted on a previously healed disks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 04 23:10:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        } catch (e: IOException) {
          if (e is ConnectionShutdownException) {
            throw e // No request was sent so there's no response to read.
          }
          if (!exchange.hasFailure) {
            throw e // Don't attempt to read the response; we failed to send the request.
          }
          sendRequestException = e
        }
    
        try {
          if (responseBuilder == null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/CIFSContext.java

         *
         * @param creds the credentials to use
         * @return a child context using using the given credentials
         */
        CIFSContext withCredentials(Credentials creds);
    
        /**
         * Attempt to renew credentials after authentication failure
         *
         * @param locationHint URL or location hint for credential renewal
         * @param error the error that triggered renewal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                route: Route?,
                response: Response,
              ): Request? {
                if (response.request.header("Authorization") != null) {
                  return null // Give up, we've already attempted to authenticate.
                }
    
                println("Authenticating for response: $response")
                println("Challenges: ${response.challenges()}")
                val credential = Credentials.basic("jesse", "password1")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbUnsupportedOperationException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Exception thrown when an unsupported SMB operation is attempted.
     * Indicates that the requested operation is not supported by the SMB server or protocol version.
     *
     * @author mbechler
     *
     */
    public class SmbUnsupportedOperationException extends SmbException {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            // However, we'll try to read it safely for compatibility
            if (this.byteCount > bufferIndex - start) {
                try {
                    // Attempt to read nativeFileSystem, but don't fail if there are issues
                    final int fsLen = this.byteCount - (bufferIndex - start);
                    if (fsLen > 0 && fsLen < 256) { // Sanity check on length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. cmd/os-reliable.go

    	if err = reliableMkdirAll(path.Dir(dstFilePath), 0o777, baseDir); err != nil {
    		return err
    	}
    
    	i := 0
    	for {
    		// After a successful parent directory create attempt a renameAll.
    		if err = Rename(srcFilePath, dstFilePath); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				continue
    			}
    		}
    		break
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top