- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 949 for Val (0.02 seconds)
-
android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt
import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.parallel.Isolated @Isolated @SdkSuppress(minSdkVersion = 28) class StrictModeTest { private val violations = mutableListOf<Violation>() @AfterEach fun cleanup() { StrictMode.setThreadPolicy( ThreadPolicy .Builder() .permitAll() .build(), ) } @TestCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 2.2K bytes - Click Count (0) -
utils/utils.go
} // CheckTruth check string true or not func CheckTruth(vals ...string) bool { for _, val := range vals { if val != "" && !strings.EqualFold(val, "false") { return true } } return false } func ToStringKey(values ...interface{}) string { results := make([]string, len(values)) for idx, value := range values {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
messages. It complements `MultipartBody` which is our streaming encoder. ```kotlin val response: Response = call.execute() val multipartReader = MultipartReader(response.body!!) multipartReader.use { while (true) { val part = multipartReader.nextPart() ?: break process(part.headers, part.body) } } ```Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts
abstract class CollectFailedTaskPathsBuildService : AbstractBuildScanInfoCollectingService() { private val failedTaskPaths = CopyOnWriteArrayList<String>() override val collectedInformation: Serializable = failedTaskPaths override fun shouldInclude(taskPath: String): Boolean { // https://github.com/gradle/gradle/issues/21351
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
*/ @Throws(IOException::class) fun sha256(): ByteString { val hashingSink = HashingSink.sha256(blackholeSink()) hashingSink.buffer().use { this.writeTo(it) } return hashingSink.hash } companion object { /** Empty request body with no content-type. */ @JvmField val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody() /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
} s := fmt.Sprintf(`"%s": {"bytes": %d`, string(key), len(val)) // Check bitrot... We should only ever have one block... if len(val) >= 32 { want := val[:32] data := val[32:] const magicHighwayHash256Key = "\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0" hh, _ := highwayhash.New([]byte(magicHighwayHash256Key)) hh.Write(data)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
internal/handlers/proxy_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package handlers import ( "net/http" "testing" ) type headerTest struct { key string // header key val string // header val expected string // expected result } func TestGetScheme(t *testing.T) { headers := []headerTest{ {xForwardedProto, "https", "https"}, {xForwardedProto, "http", "http"},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
src/cmd/asm/internal/flags/flags.go
type MultiFlag []string func (m *MultiFlag) String() string { if len(*m) == 0 { return "" } return fmt.Sprint(*m) } func (m *MultiFlag) Set(val string) error { (*m) = append(*m, val) return nil } func Usage() { fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n") fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() os.Exit(2) } func Parse() {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Apr 02 17:07:18 GMT 2026 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
long v = length >= 9 ? load64(bytes, offset + length - 8) : K0; result = hash128to64(result + v, u); return result == 0 || result == 1 ? result + ~1 : result; } private static long shiftMix(long val) { return val ^ (val >>> 47); } /** Implementation of Hash128to64 from util/hash/hash128to64.h */ @VisibleForTesting static long hash128to64(long high, long low) { long a = (low ^ high) * K3; a ^= a >>> 47;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 6.5K bytes - Click Count (0) -
docs/site-replication/run-multi-site-ldap.sh
./mc tag set minio2/newbucket "key=val1" if [ $? -ne 0 ]; then echo "expecting tag set to be successful. exiting.." exit_1 fi sleep 10 val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key) if [ "${val}" != "val1" ]; then echo "expected bucket tag to have replicated, exiting..." exit_1 fi # stop minio1 kill -9 ${site1_pid}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 10.1K bytes - Click Count (0)