Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for invalidate (1.12 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build()
        val invalidate = client.newCall(request).execute()
        assertThat(invalidate.body.string()).isEqualTo("B")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
      @Test
      fun postInvalidatesCacheWithUncacheableResponse() {
        // 1. Seed the cache.
        // 2. Invalidate it with an uncacheable response.
        // 3. Expect a cache miss.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. api/go1.3.txt

    pkg syscall (netbsd-386), const MCL_FUTURE ideal-int
    pkg syscall (netbsd-386), const MS_ASYNC = 1
    pkg syscall (netbsd-386), const MS_ASYNC ideal-int
    pkg syscall (netbsd-386), const MS_INVALIDATE = 2
    pkg syscall (netbsd-386), const MS_INVALIDATE ideal-int
    pkg syscall (netbsd-386), const MS_SYNC = 4
    pkg syscall (netbsd-386), const MS_SYNC ideal-int
    pkg syscall (netbsd-386), const PROT_EXEC = 4
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val requestB = server.takeRequest()
        assertThat(requestB.sequenceNumber).isEqualTo(1)
      }
    
      /**
       * The RFC is unclear in this regard as it only specifies that this should invalidate the cache
       * entry (if any).
       */
      @Test
      fun bodyPermittedOnDelete() {
        server.enqueue(MockResponse())
        val response =
          getResponse(
            Request.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

          localCache.put(key, value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> m) {
          localCache.putAll(m);
        }
    
        @Override
        public void invalidate(Object key) {
          checkNotNull(key);
          localCache.remove(key);
        }
    
        @Override
        public void invalidateAll(Iterable<?> keys) {
          localCache.invalidateAll(keys);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

          localCache.put(key, value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> m) {
          localCache.putAll(m);
        }
    
        @Override
        public void invalidate(Object key) {
          checkNotNull(key);
          localCache.remove(key);
        }
    
        @Override
        public void invalidateAll(Iterable<?> keys) {
          localCache.invalidateAll(keys);
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// validate the request
    	if err := rreq.validate(ctx, objectAPI); err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusNoContent)
    
    	// create http request to HEAD on the object.
    	// this helps to validate the existence of the bucket.
    	request, err = newTestSignedRequest(http.MethodHead, getHeadObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    // ----------
    // Enable server profiling
    func (a adminAPIHandlers) StartProfilingHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    	_, adminAPIErr := checkAdminRequestAuth(ctx, r, policy.ProfilingAdminAction, "")
    	if adminAPIErr != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. cmd/object-handlers_test.go

    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    						t.Errorf("%s, Expected to fail with error \"%s\", but received \"%s\": %q.",
    							reqType, want.Code, errXML.Code, errXML.Message)
    					}
    					// Validate the HTTP response status code  with the expected one.
    					if want.HTTPStatusCode != rec.Code {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("all existing replicated sites must be specified - missing %s", strings.Join(diffSlc, " ")))
    		}
    	}
    
    	// validate that all clusters are using the same IDP settings.
    	err = c.validateIDPSettings(ctx, sites)
    	if err != nil {
    		return madmin.ReplicateAddStatus{}, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top