- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for passstring (0.17 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt
import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.MediaType.Companion.toMediaType import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.RequestBody.Companion.toRequestBody class PostString { private val client = OkHttpClient() fun run() { val postBody = """ |Releases |-------- | | * _1.0_ May 6, 2013 | * _1.1_ June 15, 2013
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
package okhttp3.recipes; import java.io.IOException; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; public final class PostString { public static final MediaType MEDIA_TYPE_MARKDOWN = MediaType.get("text/x-markdown; charset=utf-8"); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
@SuppressWarnings("deprecation") private void assertStringHash(int expected, String string, Charset charset) { if (allBmp(string)) { assertHash(expected, murmur3_32().hashString(string, charset)); } assertHash(expected, murmur3_32_fixed().hashString(string, charset)); assertHash(expected, murmur3_32().newHasher().putString(string, charset).hash());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 8.6K bytes - Viewed (0) -
internal/s3select/sql/parser_test.go
} for i, tc := range validCases { err := p.ParseString(tc, &id) if err != nil { t.Fatalf("%d: %v", i, err) } // repr.Println(id, repr.Indent(" "), repr.OmitEmpty(true)) } invalidCases := []string{ "+a", "-a", "1a", `"ab`, `abc"`, `aa""a`, `"a"a"`, } for i, tc := range invalidCases { err := p.ParseString(tc, &id) if err == nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/CompilerOutputFileNamingScheme.java
package org.gradle.nativeplatform.internal; import org.apache.commons.io.FilenameUtils; import org.gradle.internal.file.RelativeFilePathResolver; import java.io.File; import static org.gradle.internal.hash.Hashing.hashString; public class CompilerOutputFileNamingScheme { private String objectFileNameSuffix; private File outputBaseFolder; private final RelativeFilePathResolver fileResolver;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/pubsub/pubsub_test.go
time.Sleep(100 * time.Millisecond) ps.Lock() if len(ps.subs) != 1 { t.Fatal("expected 1 subscriber") } ps.Unlock() close(doneCh2) } type maskString string func (m maskString) Mask() uint64 { return 1 } func TestPubSub(t *testing.T) { ps := New[Maskable, Maskable](1) ch1 := make(chan Maskable, 1) doneCh1 := make(chan struct{}) defer close(doneCh1)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPlugin.kt
val compiledScriptTypeName by lazy { packagePrefixed(scriptClassNameForFile(scriptFile)) } val packageName: String? by lazy { packageNameOf(scriptText) } val hashString by lazy { PrecompiledScriptDependenciesResolver.hashOfNormalisedString(scriptText) } val scriptText: String get() = convertLineSeparatorsToUnix(scriptFile.readText()) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
return super.hashCode(); } StringBuilder hashString = new StringBuilder(128); hashString.append(md.groupId).append('|'); hashString.append(md.artifactId).append('|'); if (compareVersion) { hashString.append(md.version).append('|'); } if (compareScope) { hashString.append(md.getArtifactScope()).append('|'); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 5.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionExecutorTest.groovy
actions {} when: visit() then: 2 * delegateAction.processFile({ it.relativePath.pathString == '/root/path/file1.txt' }) 1 * delegateAction.processFile({ it.relativePath.pathString == '/root/path/file2.txt' }) } def duplicatesExcludedByPerFileConfiguration() { given: files 'path/file1.txt', 'path/file2.txt', 'path/file1.txt'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 14:30:00 UTC 2024 - 7.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterTest.groovy
when: executer.execute(copySpec, copyAction) then: 1 * action.processFile({ it.relativePath.pathString == "a" }) 0 * action.processFile(_) } Closure path(path) { return { println it.relativePath.pathString; it.relativePath.pathString == path } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 2.7K bytes - Viewed (0)