Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 459 for ACCEPT (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    		}
    	}
    	return r, bytes, decoded
    }
    
    func fetchPathHelper(handler http.Handler, accept string, path string, etag string) (*http.Response, []byte) {
    	// Expect json-formatted apis group list
    	w := httptest.NewRecorder()
    	req := httptest.NewRequest("GET", discoveryPath, nil)
    
    	// Ask for JSON response
    	req.Header.Set("Accept", accept)
    
    	if etag != "" {
    		// Quote provided etag if unquoted
    		quoted := etag
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

        lock.lock();
      }
    
      /**
       * Enters this monitor. Blocks at most the given time.
       *
       * @return whether the monitor was entered
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public boolean enter(long time, TimeUnit unit) {
        final long timeoutNanos = toSafeNanos(time, unit);
        final ReentrantLock lock = this.lock;
        if (!fair && lock.tryLock()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
         * Content-Type: image/png
         * Content-Length: 100
         * Cache-Control: max-age=600
         * ```
         *
         * A typical HTTPS file looks like this:
         *
         * ```
         * https://google.com/foo
         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                        }
                        buf.append(tokenReqParams);
                    }
                    httpRequest = new HttpGet(buf.toString());
                }
    
                executor.accept(httpRequest, (response, entity) -> {
                    final int httpStatusCode = response.getStatusLine().getStatusCode();
                    if (httpStatusCode < 400 || httpStatusCode == 401) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/internal/trace/trace_test.go

    			want = append(want, []evDesc{
    				{trace.EventStateTransition, "Goroutine Running->Waiting", []frame{
    					{"internal/poll.(*FD).Accept", 0},
    					{"net.(*netFD).accept", 0},
    					{"net.(*TCPListener).accept", 0},
    					{"net.(*TCPListener).Accept", 0},
    					{"main.main.func10", 0},
    				}},
    				{trace.EventStateTransition, "Goroutine Running->Syscall", []frame{
    					{"syscall.read", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

            ImmutableMap.Builder<String, FileSystemLocationFingerprint> builder = ImmutableMap.builder();
            HashSet<String> processedEntries = new HashSet<>();
            roots.accept(new RelativePathTracker(), new ClasspathFingerprintingVisitor(processedEntries, builder));
            return builder.build();
        }
    
        public enum NonJarFingerprintingStrategy {
            IGNORE {
                @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformExecutionResult.java

                    workspaceAction.accept(output);
                } else if (output.getPath().startsWith(outputDirPrefix)) {
                    String relativePath = RelativePath.parse(true, output.getPath().substring(outputDirPrefix.length())).getPathString();
                    delegate.addProducedOutput(relativePath);
                    workspaceAction.accept(output);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/crypto/tls/tls.go

    type listener struct {
    	net.Listener
    	config *Config
    }
    
    // Accept waits for and returns the next incoming TLS connection.
    // The returned connection is of type *Conn.
    func (l *listener) Accept() (net.Conn, error) {
    	c, err := l.Listener.Accept()
    	if err != nil {
    		return nil, err
    	}
    	return Server(c, l.config), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. pkg/proxy/util/utils_test.go

    				mustParseIPAddr("8.8.8.8"),
    				mustParseIPAddr("1000::"),
    			},
    			nil,
    		},
    		{
    			"Accept IPAddr x 2",
    			func(ip net.IP) bool { return true },
    			[]net.Addr{
    				mustParseIPAddr("8.8.8.8"),
    				mustParseIPAddr("1000::"),
    			},
    			sets.New("8.8.8.8", "1000::"),
    		},
    		{
    			"Accept IPNet x 2",
    			func(ip net.IP) bool { return true },
    			[]net.Addr{
    				mustParseIPNet("8.8.8.8/32"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            // The network request has everything: User-Agent, Host, Accept-Encoding.
            val networkRequest = chain.request()
            assertThat(networkRequest.header("User-Agent")).isNotNull()
            assertThat(networkRequest.header("Host")).isEqualTo(
              server.hostName + ":" + server.port,
            )
            assertThat(networkRequest.header("Accept-Encoding")).isNotNull()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top