- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 452 for resps (0.14 sec)
-
guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
} @Benchmark void longEqualJava(int reps) { for (int i = 0; i < reps; ++i) { if (javaImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void longEqualUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY); return ((SrvPipePeekResponse)resp.getOutputData()).getReadDataAvailable(); } TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid()); TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig());
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Aug 05 07:12:23 UTC 2018 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
ints[i] = RANDOM_SOURCE.nextInt(); } } @Benchmark int pow(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += IntMath.pow(positive[j], exponent[j]); } return tmp; } @Benchmark int mod(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += IntMath.mod(ints[j], positive[j]);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/notfoundhandler/not_found_handler_test.go
rw := httptest.NewRecorder() target.ServeHTTP(rw, req) resp := rw.Result() body, err := io.ReadAll(resp.Body) if err != nil { t.Fatal(err) } bodyStr := strings.TrimSuffix(string(body), "\n") if resp.StatusCode != 404 { t.Fatalf("unexpected status code %d, expected 503", resp.StatusCode) } expectedMsg := "404 page not found" if bodyStr != expectedMsg {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 19 11:26:59 UTC 2021 - 2.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
@Benchmark int joinerWithStringDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy ^= JOINER_ON_STRING.join(components).length(); } return dummy; } /** {@link Joiner} with a character delimiter. */ @Benchmark int joinerWithCharacterDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/union/unionauth_test.go
req, _ := http.NewRequest("GET", "http://example.org", nil) resp, isAuthenticated, err := authRequestHandler.AuthenticateRequest(req) if err != nil { t.Errorf("Unexpected error: %v", err) } if !isAuthenticated { t.Errorf("Unexpectedly unauthenticated: %v", isAuthenticated) } if !reflect.DeepEqual(user2, resp.User) { t.Errorf("Expected %v, got %v", user2, resp.User) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/union/unionauth_test.go
authRequestHandler := New(handler1, handler2) resp, isAuthenticated, err := authRequestHandler.AuthenticateToken(context.Background(), "foo") if err != nil { t.Errorf("Unexpected error: %v", err) } if !isAuthenticated { t.Errorf("Unexpectedly unauthenticated: %v", isAuthenticated) } if !reflect.DeepEqual(user2, resp.User) { t.Errorf("Expected %v, got %v", user2, resp.User) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go
} resp.Header.Set("Location", t.rewriteURL(targetURL, req.URL, req.Host)) return resp, nil } cType := resp.Header.Get("Content-Type") cType = strings.TrimSpace(strings.SplitN(cType, ";", 2)[0]) if cType != "text/html" { // Do nothing, simply pass through return resp, nil } return t.rewriteResponse(req, resp) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 8.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol_test.go
})) resp, ok, err := auth.AuthenticateRequest(&http.Request{ Header: http.Header{ "Connection": []string{"upgrade"}, "Upgrade": []string{"websocket"}, "Sec-Websocket-Protocol": []string{"base64url.bearer.authorization.k8s.io.dG9rZW4,dummy"}, }, }) if !ok || resp == nil || err != nil { t.Errorf("expected valid user") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 21:43:39 UTC 2023 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
} } else { resp.setHeader("WWW-Authenticate", "NTLM"); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED); resp.setContentLength(0); resp.flushBuffer(); return null; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.7K bytes - Viewed (0)