- Sort Score
- Num 10 results
- Language All
Results 6941 - 6950 of 7,804 for RETURN (0.06 seconds)
-
cmd/signature-v4_test.go
import ( "context" "fmt" "net/http" "net/url" "os" "testing" "time" ) func niceError(code APIErrorCode) string { // Special-handle ErrNone if code == ErrNone { return "ErrNone" } return fmt.Sprintf("%s (%s)", errorCodes[code].Code, errorCodes[code].Description) } func TestDoesPolicySignatureMatch(t *testing.T) { _, fsDir, err := prepareFS(t.Context()) if err != nil { t.Fatal(err)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0) -
internal/crypto/metadata_test.go
}, }, } func TestRemoveInternalEntries(t *testing.T) { isEqual := func(x, y map[string]string) bool { if len(x) != len(y) { return false } for k, v := range x { if u, ok := y[k]; !ok || v != u { return false } } return true } for i, test := range removeInternalEntriesTests { RemoveInternalEntries(test.Metadata) if !isEqual(test.Metadata, test.Expected) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 18.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
// Fourth QUERY request with body "foo" again, should be cached and return "ABC" val response1a = client.newCall(request1).execute() assertThat(response1a.body.string()).isEqualTo("ABC") // Fifth QUERY request with body "bar" again, should be cached and return "DEF" val response2a = client.newCall(request2).execute() assertThat(response2a.body.string()).isEqualTo("DEF")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
buffer.writeUtf8(encodedNames[i]) buffer.writeByte('='.code) buffer.writeUtf8(encodedValues[i]) } if (countBytes) { byteCount = buffer.size buffer.clear() } return byteCount } class Builder @JvmOverloads constructor( private val charset: Charset? = null, ) { private val names = mutableListOf<String>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/webapp/js/admin/admin.js
if (e.which === 13) { var $submitButton = $("input#submit, button#submit"); if ($submitButton.size() > 0) { $submitButton[0].submit(); } // ignore enter key down return false; } }); $(".table tr[data-href]").each(function() { $(this) .css("cursor", "pointer") .hover( function() { $(this).addClass("active"); },
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Aug 06 20:44:47 GMT 2018 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
@ExtendWith(MockitoExtension.class) class SmbUnsupportedOperationExceptionTest { // Provides a variety of messages including edge cases static Stream<String> messages() { return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null); } @Test @DisplayName("Default constructor sets the expected message and no cause")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
class SMBProtocolDowngradeExceptionTest { /** * Provides messages including edge cases (null and empty) for parameterized testing. */ static Stream<Arguments> messages() { return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade")); } @Test @DisplayName("Default ctor: null message/cause; toString is class name; type hierarchy")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
request itself. * New: `Headers.Builder.addAll(Headers)`. * New: `ResponseBody.create(MediaType, ByteString)`. * New: Embed R8/ProGuard rules in the jar. These will be applied automatically by R8. * Fix: Release the connection if `Authenticator` throws an exception. * Fix: Change the declaration of `OkHttpClient.cache()` to return a `@Nullable Cache`. The return
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
tests/test_multi_body_errors.py
app = FastAPI() class Item(BaseModel): name: str age: condecimal(gt=Decimal(0.0)) # type: ignore @app.post("/items/") def save_item_no_body(item: list[Item]): return {"item": item} client = TestClient(app) def test_put_correct_body(): response = client.post("/items/", json=[{"name": "Foo", "age": 5}]) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 6.7K bytes - Click Count (0)