Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,466 for wabt (0.05 sec)

  1. src/sync/oncefunc_test.go

    		b.ReportAllocs()
    		for i := 0; i < b.N; i++ {
    			if want, got := 42, doOnceValue(); want != got {
    				b.Fatalf("want %d, got %d", want, got)
    			}
    		}
    	})
    	b.Run("v=Global", func(b *testing.B) {
    		b.ReportAllocs()
    		for i := 0; i < b.N; i++ {
    			if want, got := 42, onceValue(); want != got {
    				b.Fatalf("want %d, got %d", want, got)
    			}
    		}
    	})
    	b.Run("v=Local", func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. src/os/signal/signal.go

    	if h == nil {
    		handlers.Unlock()
    		return
    	}
    	delete(handlers.m, c)
    
    	for n := 0; n < numSig; n++ {
    		if h.want(n) {
    			handlers.ref[n]--
    			if handlers.ref[n] == 0 {
    				disableSignal(n)
    			}
    		}
    	}
    
    	// Signals will no longer be delivered to the channel.
    	// We want to avoid a race for a signal such as SIGINT:
    	// it should be either delivered to the channel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    			}
    		}
    		res = append(res, stk)
    	}
    	return res
    }
    
    func containsStack(got [][]string, want []string) bool {
    	for _, stk := range got {
    		if len(stk) < len(want) {
    			continue
    		}
    		for i, f := range want {
    			if f != stk[i] {
    				break
    			}
    			if i == len(want)-1 {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    		obj       ObjectInfo
    		want      lifecycle.Action
    	}{
    		{
    			// with object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{LockEnabled: true},
    			obj:       obj,
    			want:      lifecycle.NoneAction,
    		},
    		{
    			// without object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{},
    			obj:       obj,
    			want:      lifecycle.DeleteAllVersionsAction,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/cmd/go/go_unix_test.go

    	tg.creatingTemp(exe)
    	tg.run("build", "-o", exe, tg.path("x.go"))
    	fi, err := os.Stat(exe)
    	if err != nil {
    		t.Fatal(err)
    	}
    	got, want := fi.Mode(), cfi.Mode()
    	if got == want {
    		t.Logf("wrote x with mode %v", got)
    	} else {
    		t.Fatalf("wrote x with mode %v, wanted no 0077 bits (%v)", got, want)
    	}
    }
    
    // TestTestInterrupt verifies the fix for issue #60203.
    //
    // If the whole process group for a 'go test' invocation receives
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 16:17:55 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/runtime/profbuf.go

    	// first record
    	want := 2 + int(b.hdrsize) + nstk1
    	i := int(bw.dataCount() % uint32(len(b.data)))
    	if i+want > len(b.data) {
    		// Can't fit in trailing fragment of slice.
    		// Skip over that and start over at beginning of slice.
    		nd -= len(b.data) - i
    		i = 0
    	}
    	i += want
    	nd -= want
    
    	// second record
    	want = 2 + int(b.hdrsize) + nstk2
    	if i+want > len(b.data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/net/file_test.go

    		}()
    		c, err := ln2.Accept()
    		if err != nil {
    			if perr := parseAcceptError(err); perr != nil {
    				t.Error(perr)
    			}
    			t.Fatal(err)
    		}
    		c.Close()
    		wg.Wait()
    		if !reflect.DeepEqual(ln2.Addr(), addr) {
    			t.Fatalf("got %#v; want %#v", ln2.Addr(), addr)
    		}
    	}
    }
    
    var filePacketConnTests = []struct {
    	network string
    }{
    	{"udp"},
    	{"unixgram"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. src/sync/map_test.go

    				t.Fatalf("Nested Range loads unexpected value, got %+v want %+v", v, value)
    			}
    
    			// We didn't keep 42 and a value into the map before, if somehow we loaded
    			// a value from such a key, meaning there must be an internal bug regarding
    			// nested range in the Map.
    			if _, loaded := m.LoadOrStore(42, "dummy"); loaded {
    				t.Fatalf("Nested Range loads unexpected value, want store a new value")
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		"/readyz/poststarthook/wrapping-post-start-hook",
    		"/readyz/shutdown",
    	}
    	checkExpectedPathsAtRoot(server.URL, expectedPaths, t)
    
    	// wait for health (max-in-flight-filter is initialized asynchronously, can take a few milliseconds to initialize)
    	if err := wait.PollImmediate(100*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
    		// healthz checks are installed in PrepareRun
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/nl/stopwords.txt

    het
    niet
    zijn
    is
    was
    op
    aan
    met
    als
    voor
    had
    er
    maar
    om
    hem
    dan
    zou
    of
    wat
    mijn
    men
    dit
    zo
    door
    over
    ze
    zich
    bij
    ook
    tot
    je
    mij
    uit
    der
    daar
    haar
    naar
    heb
    hoe
    heeft
    hebben
    deze
    u
    want
    nog
    zal
    me
    zij
    nu
    ge
    geen
    omdat
    iets
    worden
    toch
    al
    waren
    veel
    meer
    doen
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 592 bytes
    - Viewed (0)
Back to top