- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 116 for waiters (0.13 sec)
-
src/strconv/quote_test.go
} in += suffix got, gotErr = QuotedPrefix(in) if gotErr == nil && wantErr != nil { _, wantErr = Unquote(got) // original input had trailing junk, reparse with only valid prefix want = got } if got != want || gotErr != wantErr { t.Errorf("QuotedPrefix(%q) = (%q, %v), want (%q, %v)", in, got, gotErr, want, wantErr) } } func BenchmarkUnquoteEasy(b *testing.B) { for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 9.6K bytes - Viewed (0) -
src/archive/tar/testdata/writer-big-long.tar
Joe Tsai <******@****.***> 1503105518 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 22:38:45 UTC 2017 - 1.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
import java.io.IOException import okhttp3.ExperimentalOkHttpApi import okio.BufferedSink /** * The body of a [MockResponse]. * * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not * called by readers. */ @ExperimentalOkHttpApi interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ val contentLength: Long @Throws(IOException::class)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/package-info.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ /** * Utility methods and classes for I/O; for example input streams, output streams, readers, writers, * and files. * * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 23 19:57:03 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/controller/certificates/authority/authority_test.go
if err != nil { t.Fatal(err) } certDER, err := ca.Sign(csr, test.policy) if len(test.wantErr) > 0 { if errStr := errString(err); test.wantErr != errStr { t.Fatalf("expected error %s but got %s", test.wantErr, errStr) } return } if err != nil { t.Fatal(err) } cert, err := x509.ParseCertificate(certDER)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 19:36:11 UTC 2021 - 7.3K bytes - Viewed (0) -
pilot/pkg/status/distribution/state_test.go
args args wantOut *v1alpha1.IstioStatus wantErr bool }{ { name: "Nondestructive cast", args: args{in: statusStillPropagating}, wantOut: statusStillPropagating, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut, err := status.GetTypedStatus(tt.args.in) if (err != nil) != tt.wantErr {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 22 22:47:47 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic_test.go
) func TestAuthenticate(t *testing.T) { type treq struct { resp *Response authenticated bool err error wantResp *Response wantAuthenticated bool wantErr bool } type taudcfg struct { auds Audiences implicitAuds Audiences } cs := []struct { name string taudcfgs []taudcfg treqs []treq }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/path/path_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { a, err := NewAuthorizer(tt.excludedPaths) if err != nil && !tt.wantErr { t.Fatalf("unexpected error: %v", err) } if err == nil && tt.wantErr { t.Fatalf("expected error, didn't get any") } if err != nil { return } for _, cases := range []struct { paths []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 2.8K bytes - Viewed (0) -
src/runtime/rwmutex_test.go
GOMAXPROCS(gomaxprocs) // Number of active readers + 10000 * number of active writers. var activity int32 var rwm RWMutex rwm.Init() cdone := make(chan bool) go writer(&rwm, num_iterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { go reader(&rwm, num_iterations, &activity, cdone) } go writer(&rwm, num_iterations, &activity, cdone) for ; i < numReaders; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 22:00:45 UTC 2023 - 4.2K bytes - Viewed (0) -
src/internal/poll/error_test.go
f, err := badStateFile() if err != nil { t.Skip(err) } defer f.Close() // Give scheduler a chance to have two separated // goroutines: an event poller and an event waiter. time.Sleep(100 * time.Millisecond) var b [1]byte _, err = f.Read(b[:]) if perr := parseReadError(err, isBadStateFileError); perr != nil { t.Fatal(perr) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 02:32:42 UTC 2020 - 1K bytes - Viewed (0)