- Sort Score
- Result 10 results
- Languages All
Results 2231 - 2240 of 3,339 for code2 (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
} @Test fun clientCloseWith0Fails() { assertFailsWith<IllegalArgumentException> { client.webSocket!!.close(0, null) }.also { expected -> assertThat("Code must be in range [1000,5000): 0") .isEqualTo(expected.message) } } @Test fun afterSocketClosedPingFailsWebSocket() { server.source.close()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
import java.text.SimpleDateFormat; import java.util.Date; import java.util.GregorianCalendar; import java.util.Properties; import java.util.TimeZone; /** * MavenBuildTimestamp * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class MavenBuildTimestamp { // ISO 8601-compliant timestamp for machine readabilityRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.4K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt
val call = okHttpClient.newCall(Request(url.toHttpUrl())) val suites = call.executeAsync().use { if (!it.isSuccessful) { throw IOException("Failed ${it.code} ${it.message}") } it.body .string() .lines() .mapNotNull { parseIanaCsvRow(it) } } return IanaSuites("current", suites)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/package-info.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ /** * Static utilities for the eight primitive types and {@code void}, and value types for treating * them as unsigned or storing them in immutable arrays. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jan 03 15:30:05 UTC 2025 - 2K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts
import org.gradle.tooling.events.task.TaskOperationResult import java.io.Serializable import java.util.concurrent.CopyOnWriteArrayList /** * Register a build service that monitors compilation tasks and code quality tasks (Checkstyle/CodeNarc/detekt) * and reports them as TeamCity build problems. */
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Apr 11 20:57:49 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/utils.go
// On form submission, the last redirect response contains the auth // code, which we now have in `lastReq`. Exchange it for a JWT id_token. q := lastReq.URL.Query() // fmt.Printf("lastReq.URL: %#v q: %#v\n", lastReq.URL, q) code := q.Get("code") oauth2Token, err := oauth2Config.Exchange(ctx, code) if err != nil { return "", fmt.Errorf("unable to exchange code for id token: %v", err) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 33K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() { return getMethod(ListHashCodeTester.class, "testHashCode"); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
helm/minio/templates/_helper_create_policy.txt
$MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkPolicyExists ($policy) # Check if the policy exists, by using the exit code of `mc admin policy info` checkPolicyExists() { POLICY=$1 CMD=$(${MC} admin policy info myminio $POLICY > /dev/null 2>&1) return $? } # createPolicy($name, $filename) createPolicy () { NAME=$1Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Mar 21 06:38:06 UTC 2023 - 2K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip import ( "bytes" "io" "os" "path/filepath" "testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
lib/fips140/Makefile
# Copyright 2024 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Rules for building and testing new FIPS snapshots. # For example: # # make v1.2.3.zip # make v1.2.3.test # # and then if changes are needed, check them into master # and run 'make v1.2.3.rm' and repeat. # # Note that once published a snapshot zip file should never
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 00:31:59 UTC 2025 - 1.4K bytes - Viewed (0)