- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 129 for abcdeff (0.19 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
) val startNanos = System.nanoTime() val connection = server.url("/").toUrl().openConnection() connection.setDoOutput(true) connection.getOutputStream().write("ABCDEF".toByteArray(StandardCharsets.UTF_8)) val inputStream = connection.getInputStream() assertThat(inputStream.read()).isEqualTo(-1) val elapsedNanos = System.nanoTime() - startNanos
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
.build(), ) val startNanos = System.nanoTime() val connection = server.url("/").toUrl().openConnection() connection.doOutput = true connection.getOutputStream().write("ABCDEF".toByteArray(UTF_8)) val inputStream = connection.getInputStream() assertThat(inputStream.read()).isEqualTo(-1) val elapsedNanos = System.nanoTime() - startNanos
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
assertSip(new byte[] {}, 0x726fdb47dd0e0e31L); assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL); assertSip(new byte[1000000], 0x28205108397aa742L); assertSip("12345678", 0x02130609caea37ebL); assertSip("abcdef", 0x2a6e77e733c7c05dL); assertSip("SipHash", 0x8325093242a96f60L); } // Test for common pitfall regarding sign extension. // For example: (long) data[i++] | (long) data[i++] << 8 | ...
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun May 05 18:02:35 UTC 2019 - 6.6K bytes - Viewed (0) -
src/go/types/check_test.go
switch err := err.(type) { case *scanner.Error: return err.Pos, err.Msg case Error: return fset.Position(err.Pos), err.Msg } panic("unreachable") } // absDiff returns the absolute difference between x and y. func absDiff(x, y int) int { if x < y { return y - x } return x - y } // parseFlags parses flags from the first line of the given source if the line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt
val instance = createFromPaths(listOf("abc")) assertTrue(instance.isFileSystemCheckIgnoredFor(File("abc"))) assertFalse(instance.isFileSystemCheckIgnoredFor(File("abcdef"))) assertFalse(instance.isFileSystemCheckIgnoredFor(File("123abc"))) assertFalse(instance.isFileSystemCheckIgnoredFor(File("abc/def"))) assertFalse(instance.isFileSystemCheckIgnoredFor(File("xyz/abc")))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/token.go
fs.StringVar( &bto.TokenStr, TokenStr, "", "The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}\\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef", ) } // AddTTLFlag adds the --token-ttl flag to the given flagset func (bto *BootstrapTokenOptions) AddTTLFlag(fs *pflag.FlagSet) { bto.AddTTLFlagWithName(fs, TokenTTL) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 10:34:21 UTC 2023 - 4.1K bytes - Viewed (0) -
src/testing/iotest/writer_test.go
package iotest import ( "strings" "testing" ) var truncateWriterTests = []struct { in string want string trunc int64 n int }{ {"hello", "", -1, 5}, {"world", "", 0, 5}, {"abcde", "abc", 3, 5}, {"edcba", "edcba", 7, 5}, } func TestTruncateWriter(t *testing.T) { for _, tt := range truncateWriterTests { buf := new(strings.Builder) tw := TruncateWriter(buf, tt.trunc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 07:03:10 UTC 2022 - 881 bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
} mf := filepath.Join(*outdirflag, "covmeta.0abcdef") if err := os.WriteFile(mf, slwm.BytesWritten(), 0666); err != nil { log.Fatalf("error: writing %s: %v", mf, err) } var slwc slicewriter.WriteSeeker if err := coverage.WriteCounters(&slwc); err != nil { log.Fatalf("error: WriteCounters returns %v", err) } cf := filepath.Join(*outdirflag, "covcounters.0abcdef.99.77")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0) -
src/strings/replace_test.go
} func BenchmarkSingleLongSuffixFail(b *testing.B) { benchmarkSingleString(b, "b"+Repeat("a", 500), Repeat("a", 1002)) } func BenchmarkSingleMatch(b *testing.B) { benchmarkSingleString(b, "abcdef", Repeat("abcdefghijklmno", 1000)) } func BenchmarkByteByteNoMatch(b *testing.B) { str := Repeat("A", 100) + Repeat("B", 100) for i := 0; i < b.N; i++ { capitalLetters.Replace(str) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 22:53:05 UTC 2017 - 14.1K bytes - Viewed (0) -
test/typeparam/absdiff2.go
// run // Copyright 2022 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. // absdiff example in which an Abs method is attached to a generic type, which is a // structure with a single field that may be a list of possible basic types. package main import ( "fmt" "math" ) type Numeric interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 09 21:26:42 UTC 2022 - 3.6K bytes - Viewed (0)