- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,974 for unit (0.02 seconds)
-
internal/grid/muxclient.go
} // roundtrip performs a roundtrip, returning the first response. // This cannot be used concurrently. func (m *muxClient) roundtrip(h HandlerID, req []byte) ([]byte, error) { if m.init { return nil, errors.New("mux client already used") } m.init = true m.singleResp = true msg := message{ Op: OpRequest, MuxID: m.MuxID, Handler: h, Flags: m.BaseFlags | FlagEOF, Payload: req,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
@JvmField val TLS_RSA_WITH_NULL_SHA = init("SSL_RSA_WITH_NULL_SHA", 0x0002) @JvmField val TLS_RSA_EXPORT_WITH_RC4_40_MD5 = init("SSL_RSA_EXPORT_WITH_RC4_40_MD5", 0x0003) @JvmField val TLS_RSA_WITH_RC4_128_MD5 = init("SSL_RSA_WITH_RC4_128_MD5", 0x0004) @JvmField val TLS_RSA_WITH_RC4_128_SHA = init("SSL_RSA_WITH_RC4_128_SHA", 0x0005)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 39.9K bytes - Click Count (0) -
tests/upsert_test.go
} DB.Where(&User{Name: "find or init"}).Assign("age", 44).FirstOrInit(&user4) if user4.Name != "find or init" || user4.ID != 0 || user4.Age != 44 { t.Errorf("user should be initialized with search value and assign attrs") } DB.Save(&User{Name: "find or init", Age: 33}) DB.Where(&User{Name: "find or init"}).Attrs("age", 44).FirstOrInit(&user5) if user5.Name != "find or init" || user5.ID == 0 || user5.Age != 33 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
import okhttp3.tls.HeldCertificate import okhttp3.tls.internal.TlsUtil.newKeyManager import okhttp3.tls.internal.TlsUtil.newTrustManager import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension import org.junitpioneer.jupiter.RetryingTest @Tag("Slowish") class ClientAuthTest { @RegisterExtensionCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 13K bytes - Click Count (0) -
internal/jwt/parser.go
} // SetAudience sets audience for these claims func (c *StandardClaims) SetAudience(aud string) { c.Audience = aud } // SetExpiry sets expiry in unix epoch secs func (c *StandardClaims) SetExpiry(t time.Time) { c.ExpiresAt = t.Unix() } // SetAccessKey sets access key as jwt subject and custom // "accessKey" field. func (c *StandardClaims) SetAccessKey(accessKey string) { c.Subject = accessKey
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
cmd/auth-handler_test.go
req := mustNewRequest(method, urlStr, contentLength, body, t) cred := globalActiveCred if err := preSignV2(req, cred.AccessKey, cred.SecretKey, time.Now().Add(10*time.Minute).Unix()); err != nil { t.Fatalf("Unable to initialized new signed http request %s", err) } return req } // This is similar to mustNewRequest but additionally the request
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
doc/go_spec.html
Variables may also be initialized using functions named <code>init</code> declared in the package block, with no arguments and no result parameters. </p> <pre> func init() { … } </pre> <p> Multiple such functions may be defined per package, even within a single source file. In the package block, the <code>init</code> identifier can be used only to declare <code>init</code> functions, yet the identifier
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt
import assertk.assertions.isGreaterThan import java.util.stream.Stream import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider import org.junit.jupiter.params.provider.ArgumentsSource import org.junit.jupiter.params.support.ParameterDeclarations /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 22 20:31:49 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp-testing-support/build.gradle.kts
} ) }) api(libs.hamcrestLibrary) api(libs.junit.jupiter.api) api(libs.junit.jupiter.params) api(libs.junit.pioneer) compileOnly(libs.robolectric.android) testImplementation(libs.kotlin.test.common) testImplementation(libs.kotlin.test.junit) } animalsniffer { isIgnoreFailures = trueCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 1.2K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt
import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import org.junit.jupiter.api.extension.AfterEachCallback import org.junit.jupiter.api.extension.BeforeEachCallback import org.junit.jupiter.api.extension.ExtensionContext import org.junit.rules.TestRule import org.junit.runner.Description import org.junit.runners.model.Statement /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.5K bytes - Click Count (0)