- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,069 for Err (0.05 sec)
-
src/bytes/bytes_test.go
for i, tt := range tests { err := repeat([]byte(tt.s), tt.count) if tt.errStr == "" { if err != nil { t.Errorf("#%d panicked %v", i, err) } continue } if err == nil || !strings.Contains(err.Error(), tt.errStr) { t.Errorf("%s#%d got %q want %q", prefix, i, err, tt.errStr) } } } const maxInt = int(^uint(0) >> 1)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
} } } override fun testPlanExecutionFinished(testPlan: TestPlan) { originalSystemErr?.println() } fun install() { originalSystemOut = System.out originalSystemErr = System.err System.setOut(object : PrintStream(OutputStream.nullOutputStream()) {}) System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {}) } fun uninstall() { originalSystemOut.let {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/LogStream.java
*/ public static void setInstance( PrintStream stream ) { inst = new LogStream( stream ); } public static LogStream getInstance() { if( inst == null ) { setInstance( System.err ); } return inst; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.6K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
return FromBytes([]byte("byte contents")) }, func() *Value { return FromFloat(math.Pi) }, func() *Value { return FromInt(0x1337) }, func() *Value { t, err := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z") if err != nil { panic(err) } return FromTimestamp(t) }, func() *Value { return FromString("string contents") }, } // altValueBuilders contains one constructor for each value type.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
if !arch.ARM64Suffix(prog, cond) { p.errorf("unrecognized suffix .%q", cond) return } case sys.AMD64, sys.I386: if err := x86.ParseSuffix(prog, cond); err != nil { p.errorf("%v", err) return } case sys.RISCV64: if err := riscv.ParseSuffix(prog, cond); err != nil { p.errorf("unrecognized suffix .%q", cond) return } default: p.errorf("unrecognized suffix .%q", cond) return
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
cni/pkg/nodeagent/netns.go
fd uintptr inode uint64 } func (n *NetnsWithFd) Close() error { if n.netns == nil { return nil } ret := n.netns.Close() // set fd to invalid value, so if something uses it by mistake it will err uintZero := uintptr(0) n.fd = ^uintZero return ret } func (n *NetnsWithFd) Fd() uintptr { return n.fd } func (n *NetnsWithFd) Inode() uint64 { return n.inode
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/object-api-datatypes.go
if !ok { return nil } data := []byte(z) if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc { decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data) if err != nil { encLogIf(GlobalContext, err) return nil } data = decrypted } return data } // Clone - Returns a cloned copy of current objectInfo
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CorrettoTest.kt
client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) { System.err.println("Flaky TLSv1.3 with google") // assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } } @Test fun testIfSupported() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
istioctl/cmd/sysexits.go
ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD ) func GetExitCode(e error) int { if strings.Contains(e.Error(), "unknown command") { e = util.CommandParseError{Err: e} } switch e.(type) { case util.CommandParseError: return ExitIncorrectUsage case analyze.FileParseError: return ExitDataError case analyze.AnalyzerFoundIssuesError: return ExitAnalyzerFoundIssues
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 21K bytes - Viewed (0)