- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 457 for unexported (0.17 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
Request.Builder() .url("https://publicobject.com/helloworld.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body.string()) } } } fun main() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
internal/disk/disk_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 22:20:48 UTC 2023 - 1.1K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
"istio.io/istio/istioctl/pkg/analyze" "istio.io/istio/istioctl/pkg/util" ) var KnownErrorCode = map[error]int{ errors.New("unknown command"): ExitIncorrectUsage, errors.New("unexpected error"): ExitUnknownError, util.CommandParseError{Err: errors.New("command parse error")}: ExitIncorrectUsage, analyze.FileParseError{}: ExitDataError,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
t.Align = -1 t.C = &TypeRepr{Repr: dtype.Common().Name} c.m[key] = t switch dt := dtype.(type) { default: fatalf("%s: unexpected type: %s", lineno(pos), dtype) case *dwarf.AddrType: if t.Size != c.ptrSize { fatalf("%s: unexpected: %d-byte address type - %s", lineno(pos), t.Size, dtype) } t.Go = c.uintptr t.Align = t.Size case *dwarf.ArrayType:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/TlsVersion.kt
return when (javaName) { "TLSv1.3" -> TLS_1_3 "TLSv1.2" -> TLS_1_2 "TLSv1.1" -> TLS_1_1 "TLSv1" -> TLS_1_0 "SSLv3" -> SSL_3_0 else -> throw IllegalArgumentException("Unexpected TLS version: $javaName") } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/s3select/jstream/errors.go
package jstream import ( "fmt" "strconv" ) // Predefined errors var ( ErrSyntax = DecoderError{msg: "invalid character"} ErrUnexpectedEOF = DecoderError{msg: "unexpected end of JSON input"} ErrMaxDepth = DecoderError{msg: "maximum recursion depth exceeded"} ) type errPos [2]int // line number, byte offset where error occurred // DecoderError contains a detailed decoding error. type DecoderError struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
source = Buffer().writeUtf8(multipart), ) assertFailsWith<ProtocolException> { parts.nextPart() }.also { expected -> assertThat(expected).hasMessage("unexpected characters after boundary") } } @Test fun `whitespace before close delimiter`() { val multipart = """ |--simple boundary | |abcd
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && c.expectedOutput != output { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput) } if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 8.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
body = file.asRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
int bufferIndex ) throws IOException { if( in.read( buffer, bufferIndex, length ) != length ) { throw new IOException( "unexpected EOF reading netbios retarget session response" ); } int addr = readInt4( buffer, bufferIndex ); bufferIndex += 4; retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.8K bytes - Viewed (0)