Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,445 for wabt (0.08 sec)

  1. pkg/scheduler/schedule_one_test.go

    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			s.ScheduleOne(ctx)
    			// Wait for pod to succeed or fail scheduling
    			select {
    			case <-eventChan:
    			case <-time.After(wait.ForeverTestTimeout):
    				t.Fatalf("scheduling timeout after %v", wait.ForeverTestTimeout)
    			}
    			stopFunc()
    			// Wait for scheduling to return an error or succeed binding.
    			var (
    				gotErr  error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		mux.ServeHTTP(w, req)
    
    		if got, want := w.Code, tt.code; got != want {
    			t.Errorf("#%d: Status = %d; want = %d", i, got, want)
    		}
    
    		if tt.code == 301 {
    			if got, want := w.HeaderMap.Get("Location"), tt.loc; got != want {
    				t.Errorf("#%d: Location = %q; want = %q", i, got, want)
    			}
    		} else {
    			if got, want := w.HeaderMap.Get("Result"), tt.want; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/os/readfrom_linux_test.go

    	}
    	if dstoff != int64(len(data)) {
    		t.Errorf("dstoff = %d, want %d", dstoff, len(data))
    	}
    	if n != int64(len(data)) {
    		t.Errorf("short ReadFrom: wrote %d bytes, want %d", n, len(data))
    	}
    	mustSeekStart(t, dst)
    	mustContainData(t, dst, data)
    
    	// If we had a limit, check that it was updated.
    	if lr != nil {
    		if want := limit - n; lr.N != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    #
    # When we parse the version for a Clang binary, we should accept
    # an arbitrary vendor prefix, which (as of 2023) may be injected
    # by defining CLANG_VENDOR when building clang itself.
    #
    # Since we don't want to actually rebuild the Clang toolchain in
    # this test, we instead simulate it by injecting a fake "clang"
    # binary that runs the real one as a subprocess.
    
    [!cgo] skip
    [short] skip 'builds and links a fake clang binary'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. pkg/kubelet/util/manager/watch_based_manager.go

    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apimachinery/pkg/watch"
    	"k8s.io/utils/clock"
    )
    
    type listObjectFunc func(string, metav1.ListOptions) (runtime.Object, error)
    type watchObjectFunc func(string, metav1.ListOptions) (watch.Interface, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. operator/pkg/util/progress/progress.go

    	comps := make([]string, 0, len(p.components))
    	wait := make([]string, 0, len(p.components))
    	for c, l := range p.components {
    		comps = append(comps, name.UserFacingComponentName(name.ComponentName(c)))
    		wait = append(wait, l.waitingResources()...)
    	}
    	sort.Strings(comps)
    	sort.Strings(wait)
    	msg := fmt.Sprintf(`Processing resources for %s.`, strings.Join(comps, ", "))
    	if len(wait) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	for _, sec := range ef.Sections {
    		want := elf.SHT_NULL
    		switch sec.Name {
    		case ".text", ".data":
    			want = elf.SHT_PROGBITS
    		case ".bss":
    			want = elf.SHT_NOBITS
    		case ".symtab":
    			want = elf.SHT_SYMTAB
    		case ".strtab":
    			want = elf.SHT_STRTAB
    		case ".init_array":
    			want = elf.SHT_INIT_ARRAY
    		case ".fini_array":
    			want = elf.SHT_FINI_ARRAY
    		case ".preinit_array":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  8. src/runtime/netpoll_solaris.go

    	if portfd == -1 {
    		return gList{}, 0
    	}
    
    	var wait *timespec
    	var ts timespec
    	if delay < 0 {
    		wait = nil
    	} else if delay == 0 {
    		wait = &ts
    	} else {
    		ts.setNsec(delay)
    		if ts.tv_sec > 1e6 {
    			// An arbitrary cap on how long to wait for a timer.
    			// 1e6 s == ~11.5 days.
    			ts.tv_sec = 1e6
    		}
    		wait = &ts
    	}
    
    	var events [128]portevent
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/time/internal_test.go

    	sources := []string{"../../lib/time/zoneinfo.zip"}
    	z, err := loadLocation("America/Los_Angeles", sources)
    	if err != nil {
    		panic("cannot load America/Los_Angeles for testing: " + err.Error() + "; you may want to use -tags=timetzdata")
    	}
    	z.name = "Local"
    	localLoc = *z
    }
    
    var origPlatformZoneSources []string = platformZoneSources
    
    func disablePlatformSources() (undo func()) {
    	platformZoneSources = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/internal/trace/summary_test.go

    			}
    		}
    
    		// Check logs.
    		if len(want.logs) != len(summary.Logs) {
    			t.Errorf("wanted %d logs for task %d, got %d logs instead", len(want.logs), id, len(summary.Logs))
    		} else {
    			for i := range want.logs {
    				if want.logs[i] != summary.Logs[i].Log() {
    					t.Errorf("log mismatch: want %#v, got %#v", want.logs[i], summary.Logs[i].Log())
    				}
    			}
    		}
    
    		// Check goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top