- Sort Score
- Result 10 results
- Languages All
Results 2951 - 2960 of 6,241 for if (0.03 sec)
-
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
val request = Request.Builder() val requestMethod = method ?: if (data != null) "POST" else "GET" val url = url ?: throw IOException("No url provided") request.url(url) data?.let { request.method(requestMethod, it.toRequestBody(mediaType())) } for (header in headers.orEmpty()) { val parts = header.split(':', limit = 2) if (!isSpecialHeader(parts[0])) { request.header(parts[0], parts[1])
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
} @Benchmark void longEqualJava(int reps) { for (int i = 0; i < reps; ++i) { if (javaImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void longEqualUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
import javax.net.ssl.X509TrustManager import okhttp3.Protocol import org.bouncycastle.jsse.BCSSLSocket import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider /** * Platform using BouncyCastle if installed as the first Security Provider. * * Requires org.bouncycastle:bctls-jdk15on on the classpath. */ class BouncyCastlePlatform private constructor() : Platform() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
} } } override fun afterSuite(suite: TestDescriptor, result: TestResult) { if (suite.parent == null) { forEachJavaProcess { pid, _ -> if (daemonPids.add(pid)) { suspiciousDaemons.getOrPut(suite.toString(), { ConcurrentHashMap.newKeySet() }) += pid }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
final String hostname = ia.getHostName(); if (StringUtil.isNotBlank(hostname)) { buf.append(hostname); } final String ip = ia.getHostAddress(); if (StringUtil.isNotBlank(ip)) { if (buf.length() > 0) { buf.append(" : "); } buf.append(ip);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0) -
internal/kms/config_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package kms import ( "os" "testing" ) func TestIsPresent(t *testing.T) { for i, test := range isPresentTests { os.Clearenv() for k, v := range test.Env { os.Setenv(k, v) } ok, err := IsPresent() if err != nil && !test.ShouldFail { t.Fatalf("Test %d: %v", i, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java
/** * Should the operation be forced (ie overwrite existing config, if any). * * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ Optional<Boolean> force(); /** * Should imply "yes" to all questions. * * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ Optional<Boolean> yes(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Oct 14 19:57:22 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java
path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion()); if (artifact.hasClassifier()) { path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier()); } if (artifactHandler.getExtension() != null && !artifactHandler.getExtension().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Flushables.java
* * <p>If {@code swallowIOException} is true, then we don't rethrow {@code IOException}, but merely * log it. * * @param flushable the {@code Flushable} object to be flushed. * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code flush} * method * @throws IOException if {@code swallowIOException} is false and {@link Flushable#flush} throws
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2.5K bytes - Viewed (0) -
common/config/.golangci-format.yml
# WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY # # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". run: # Timeout for analysis, e.g. 30s, 5m. # Default: 1m timeout: 20m build-tags:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 05 03:02:37 UTC 2024 - 2K bytes - Viewed (0)