- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 1,037 for tail (0.03 sec)
-
cmd/encryption-v1_test.go
if err != nil && !test.ShouldFail { t.Fatalf("Test %d: should succeed but failed: %v", i, err) } if err == nil && test.ShouldFail { t.Fatalf("Test %d: should fail but succeeded", i) } if err == nil { if etag != test.ETag { t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag) } } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
internal/etag/etag.go
// access the ETag by looking for the HTTP response header key "Etag". // However, some of them assume that the header key has to be "ETag" // (case-sensitive) and will fail otherwise. // Further, some clients require that the ETag value is a double-quoted // string. Therefore, this package provides dedicated functions for // adding and extracting the ETag to/from HTTP headers. package etag
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/jwt/parser.go
jwtgo.ValidationErrorClaimsInvalid) } } // Lookup key from claims, claims may not be valid and may return // invalid key which is okay as the signature verification will fail. key, err := fn(claims) if err != nil { return err } borrow := signer.HashBorrower() hasher := hmac.New(borrow.Borrow, key) hasher.Write([]byte(tokenStr[:i]))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
} /** * Returns the Unicode code point of the character at the given index. * * <p>Unlike {@link Character#codePointAt(CharSequence, int)} or {@link String#codePointAt(int)} * this method will never fail silently when encountering an invalid surrogate pair. * * <p>The behaviour of this method is as follows: * * <ol> * <li>If {@code index >= end}, {@link IndexOutOfBoundsException} is thrown.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_AbstractOpSetOpName(placeholder_op, "my_ph", status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); // This should fail. TF_AbstractOpSetOpType(placeholder_op, "Placeholder", status.get()); ASSERT_EQ(TF_FAILED_PRECONDITION, TF_GetCode(status.get())); TF_DeleteAbstractOp(placeholder_op); TF_DeleteExecutionContext(graph_ctx); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
} // Create a kube client client := kube.NewFakeClient(objects...) mockRedir := &mockInterceptRuleMgr{} err = doAddRun(args, conf, client.Kube(), mockRedir) if err == nil { t.Fatal("expected to fail, but did not!") } return mockRedir } func testDoAddRun(t *testing.T, stdinData, nsName string, objects ...runtime.Object) *mockInterceptRuleMgr { args := buildCmdArgs(stdinData, testPodName, nsName)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST); } private static void assertCastFails(long value) { try { Ints.checkedCast(value); fail("Cast to int should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
// it's shared to avoid using too much memory in tests double[] sharedArray = new double[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Doubles.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } } public void testEnsureCapacity() { assertThat(Doubles.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
return earliestEvictableIdleAtNs + keepAliveDurationNs - now } inUseConnectionCount > 0 -> { // All connections are in use. It'll be at least the keep alive duration 'til we run again. return keepAliveDurationNs } else -> { // No connections, idle or in use. return -1 } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
api/go1.5.txt
pkg net/http/fcgi, var ErrRequestAborted error pkg net/http/pprof, func Trace(http.ResponseWriter, *http.Request) pkg net/mail, method (*AddressParser) Parse(string) (*Address, error) pkg net/mail, method (*AddressParser) ParseList(string) ([]*Address, error) pkg net/mail, type AddressParser struct pkg net/mail, type AddressParser struct, WordDecoder *mime.WordDecoder pkg net/smtp, method (*Client) TLSConnectionState() (tls.ConnectionState, bool)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0)