Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for retain (0.04 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

        return refreshNanos > 0;
      }
    
      boolean usesAccessQueue() {
        return expiresAfterAccess() || evictsBySize();
      }
    
      boolean usesWriteQueue() {
        return expiresAfterWrite();
      }
    
      boolean recordsWrite() {
        return expiresAfterWrite() || refreshes();
      }
    
      boolean recordsAccess() {
        return expiresAfterAccess();
      }
    
      boolean recordsTime() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          val code = response.code
          if (code != HTTP_TEMP_REDIRECT && code != HTTP_PERM_REDIRECT) return response
          val method = response.request.method
          if (method == "GET" || method == "HEAD") return response
          val location = response.header("Location") ?: return response
          return response
            .newBuilder()
            .removeHeader("Location")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	if oi.ModTime.IsZero() {
    		return roi
    	}
    
    	if isVeeamSOSAPIObject(oi.Name) {
    		return roi
    	}
    	if rcfg.Config == nil || rcfg.remotes == nil {
    		return roi
    	}
    	roi = getHealReplicateObjectInfo(oi, rcfg)
    	roi.RetryCount = uint32(retryCount)
    	if !roi.Dsc.ReplicateAny() {
    		return roi
    	}
    	// early return if replication already done, otherwise we need to determine if this
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 118.2K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    				return nil
    			}
    		}
    		configData, err := base64.StdEncoding.DecodeString(*versioning)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		_, err = globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		return nil
    	}
    
    	return nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 184.8K bytes
    - Viewed (1)
  5. cmd/object-handlers_test.go

    			r := make(map[string]string, len(m))
    			maps.Copy(r, m)
    			return r
    		}
    	)
    
    	type ObjectInput struct {
    		objectName  string
    		partLengths []int64
    
    		metaData map[string]string
    	}
    
    	objectLength := func(oi ObjectInput) (sum int64) {
    		for _, l := range oi.partLengths {
    			sum += l
    		}
    		return sum
    	}
    
    	// set of inputs for uploading the objects before tests for
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  6. fastapi/routing.py

                validation_error = RequestValidationError(
                    errors, body=body, endpoint_ctx=endpoint_ctx
                )
                raise validation_error
    
            # Return response
            assert response
            return response
    
        return app
    
    
    def get_websocket_app(
        dependant: Dependant,
        dependency_overrides_provider: Optional[Any] = None,
        embed_body_fields: bool = False,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  7. fastapi/applications.py

                response.headers["X-Process-Time"] = str(process_time)
                return response
            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_middleware(BaseHTTPMiddleware, dispatch=func)
                return func
    
            return decorator
    
        def exception_handler(
            self,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  8. cmd/server_test.go

    // and If-Unmodified-Since headers set are validated.
    // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified).
    // If-Unmodified-Since - Return the object only if it has not been modified since the specified time, else return a 412 (precondition failed).
    func (s *TestSuiteCommon) TestHeadOnObjectLastModified(c *check) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        // Fourth QUERY request with body "foo" again, should be cached and return "ABC"
        val response1a = client.newCall(request1).execute()
        assertThat(response1a.body.string()).isEqualTo("ABC")
    
        // Fifth QUERY request with body "bar" again, should be cached and return "DEF"
        val response2a = client.newCall(request2).execute()
        assertThat(response2a.body.string()).isEqualTo("DEF")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    puzzled her a good deal until she made out what it was:  she was
    beginning to grow larger again, and she thought at first she
    would get up and leave the court; but on second thoughts she
    decided to remain where she was as long as there was room for
    her.
    
      `I wish you wouldn't squeeze so.' said the Dormouse, who was
    sitting next to her.  `I can hardly breathe.'
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
Back to top