- Sort Score
- Result 10 results
- Languages All
Results 1701 - 1710 of 3,649 for Code (0.03 sec)
-
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Nov 17 07:40:31 UTC 2020 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import org.junit.Ignore; /** * A generic JUnit test which tests {@code lastIndexOf()} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
static void checkPositive(int value, String name) { if (value <= 0) { throw new IllegalArgumentException(name + " must be positive but was: " + value); } } /** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) { checkState(canRemove, "no calls to next() since the last call to remove()"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2.1K 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=$1
Registered: Sun Nov 03 19:28:11 UTC 2024 - 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 Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import org.junit.Ignore; /** * A generic JUnit test which tests {@code indexOf()} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.1K bytes - Viewed (0) -
licenses/github.com/gogo/protobuf/LICENSE
https://github.com/golang/protobuf Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Oct 26 02:47:39 UTC 2019 - 1.6K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
import com.gradle.develocity.agent.gradle.test.DevelocityTestConfiguration import gradlebuild.archtest.PackageCyclesExtension plugins { `jvm-test-suite` id("gradlebuild.dependency-modules") id("gradlebuild.code-quality") } val packageCyclesExtension = extensions.create<PackageCyclesExtension>("packageCycles").apply { excludePatterns.convention(emptyList()) } val sharedArchTestClasses by configurations.creating {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jul 03 16:00:02 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
if (!tag.equals("inheritDoc")) { return false; } for (Node node : source.getCommentText()) { nodeStack.appendChild(node); } return true; } } private interface CommentSource { Iterable<? extends Node> getCommentText(); } private static class NoOpCommentSource implements CommentSource {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestSetMultimapGenerator.java
*/ package com.google.common.collect.testing.google; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SetMultimap; /** * A generator for {@code SetMultimap} implementations based on test data. * * @author Louis Wasserman */ @GwtCompatible public interface TestSetMultimapGenerator<K, V>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 29 12:09:19 UTC 2016 - 990 bytes - Viewed (0)