- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,880 for unexpected (0.09 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
.add("Test-Instant", expected) .build() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) } @Test fun setDate() { val expected = Date(1000) val headers = Headers .Builder() .add("testDate", Date(0L)) .set("testDate", expected) .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
src/cmd/cgo/ast.go
visit(f, x, context) switch n := x.(type) { case *ast.Expr: f.walk(*n, context, visit) // everything else just recurs default: error_(token.NoPos, "unexpected type %T in walk", x) panic("unexpected type") case nil: // These are ordered and grouped to match ../../go/ast/ast.go case *ast.Field: if len(n.Names) == 0 && context == ctxField {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:59 GMT 2026 - 14.4K bytes - Click Count (0) -
tests/chainable_api_test.go
t.Fatalf("LIMIT clause expected") } else { if limit, ok := cl.Expression.(clause.Limit); !ok || limit.Limit == nil || *limit.Limit != 10 || limit.Offset != 5 { t.Fatalf("LIMIT/Offset values unexpected: %v", cl.Expression) } } // Joins tx = tx.Joins("JOIN accounts ON accounts.user_id = users.id") if len(tx.Statement.Joins) == 0 { t.Fatalf("Joins expected") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jan 31 08:39:40 GMT 2026 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
public void decode(final NdrBuffer buf) throws NdrException { decode_header(buf); if (this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13) { throw new NdrException("Unexpected ptype: " + this.ptype); } if (this.ptype == 2 || this.ptype == 3) { /* Response or Fault */ this.alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
if err != tt.expectedErr { t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err) } if !bytes.Equal(chunkSize, tt.chunkSize) { t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSize), string(chunkSize)) } if !bytes.Equal(chunkSignature, tt.chunkSignature) { t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSignature), string(chunkSignature)) } } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0) -
internal/bucket/replication/rule_test.go
t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) { cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig))) if err != nil { t.Fatalf("Got unexpected error: %v", err) } if got := cfg.Rules[0].MetadataReplicate(tc.opts); got != tc.expectedResult { t.Fatalf("Expected result with recursive set to false: `%v`, got: `%v`", tc.expectedResult, got) } }) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i> * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you * should override {@code equals} as well, either providing your own implementation, or delegating * to the provided {@code standardEquals} method. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
cmd/test-utils_test.go
} } // expected error response when the unsigned HTTP request is not permitted. unsupportedSignature := getAPIError(ErrSignatureVersionNotSupported).HTTPStatusCode if rec.Code != unsupportedSignature {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
int idx = codeCap.getAllValues().indexOf(WinError.ERROR_ACCESS_DENIED); assertEquals("Access is denied.", msgCap.getAllValues().get(idx)); // Ensure no unexpected empty messages (edge: empty strings) msgCap.getAllValues().forEach(m -> assertNotNull(m)); msgCap.getAllValues().forEach(m -> assertFalse(m.trim().isEmpty(), "Message should not be empty")); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
.getInstance(TrustManagerFactory.getDefaultAlgorithm()) .apply { init(null as KeyStore?) }.trustManagers!! check(trustManagers.size == 1 && trustManagers[0] is X509TrustManager) { "Unexpected default trust managers: ${trustManagers.contentToString()}" } val x509TrustManager = trustManagers[0] as X509TrustManager // Disabled because OkHttp will run anyway
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.6K bytes - Click Count (0)