Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,668 for book (0.09 sec)

  1. cmd/xl-storage-free-version_test.go

    		t.Fatalf("Expected two free versions but got %d", len(freeVersions))
    	}
    
    	freeVersionsTests := []struct {
    		vol          string
    		name         string
    		inclFreeVers bool
    		afterFn      func(fi FileInfo) (string, error)
    		expectedFree bool
    		expectedErr  error
    	}{
    		// ToFileInfo with 'inclFreeVers = true' should return the latest
    		// non-free version if one is present
    		{
    			vol:          newtierfi.Volume,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/net/http/routing_tree.go

    func (root *routingNode) matchingMethods(host, path string, methodSet map[string]bool) {
    	if host != "" {
    		root.findChild(host).matchingMethodsPath(path, methodSet)
    	}
    	root.emptyChild.matchingMethodsPath(path, methodSet)
    	if methodSet["GET"] {
    		methodSet["HEAD"] = true
    	}
    }
    
    func (n *routingNode) matchingMethodsPath(path string, set map[string]bool) {
    	if n == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/runtime/os3_plan9.go

    )
    
    // May run during STW, so write barriers are not allowed.
    //
    //go:nowritebarrierrec
    func sighandler(_ureg *ureg, note *byte, gp *g) int {
    	gsignal := getg()
    	mp := gsignal.m
    
    	var t sigTabT
    	var docrash bool
    	var sig int
    	var flags int
    	var level int32
    
    	c := &sigctxt{_ureg}
    	notestr := gostringnocopy(note)
    
    	// The kernel will never pass us a nil note or ureg so we probably
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cni/pkg/repair/netns.go

    		res, err = f()
    		return err
    	})
    	if err != nil {
    		return res, fmt.Errorf("in network namespace %v: %v", ns, err)
    	}
    
    	return res, nil
    }
    
    func checkInterfacesForMatchingAddr(targetAddr net.IP) (match bool, err error) {
    	var interfaces []net.Interface
    	if interfaces, err = net.Interfaces(); err != nil {
    		return false, fmt.Errorf("failed to get interfaces")
    	}
    
    	for _, ief := range interfaces {
    		var addrs []net.Addr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/mergelocals_test.go

    	return v
    }
    
    func TestMergeLocalState(t *testing.T) {
    	v1 := mkiv("v1")
    	v2 := mkiv("v2")
    	v3 := mkiv("v3")
    
    	testcases := []struct {
    		vars      []*ir.Name
    		partition map[*ir.Name][]int
    		experr    bool
    	}{
    		{
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1, 2},
    				v2: []int{0, 1, 2},
    				v3: []int{0, 1, 2},
    			},
    			experr: false,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/upgrade/policy.go

    func EnforceVersionPolicies(versionGetter VersionGetter, newK8sVersionStr string, newK8sVersion *version.Version, allowExperimentalUpgrades, allowRCUpgrades bool) *VersionSkewPolicyErrors {
    
    	skewErrors := &VersionSkewPolicyErrors{
    		Mandatory: []error{},
    		Skippable: []error{},
    	}
    
    	clusterVersionStr, clusterVersion, err := versionGetter.ClusterVersion()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/internal/cpu/cpu.go

    	_            CacheLinePad
    	HasAES       bool
    	HasADX       bool
    	HasAVX       bool
    	HasAVX2      bool
    	HasAVX512F   bool
    	HasAVX512BW  bool
    	HasAVX512VL  bool
    	HasBMI1      bool
    	HasBMI2      bool
    	HasERMS      bool
    	HasFMA       bool
    	HasOSXSAVE   bool
    	HasPCLMULQDQ bool
    	HasPOPCNT    bool
    	HasRDTSCP    bool
    	HasSHA       bool
    	HasSSE3      bool
    	HasSSSE3     bool
    	HasSSE41     bool
    	HasSSE42     bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/database/sql/driver/types_test.go

    type (
    	i  int64
    	f  float64
    	b  bool
    	bs []byte
    	s  string
    	t  time.Time
    	is []int
    )
    
    var valueConverterTests = []valueConverterTest{
    	{Bool, "true", true, ""},
    	{Bool, "True", true, ""},
    	{Bool, []byte("t"), true, ""},
    	{Bool, true, true, ""},
    	{Bool, "1", true, ""},
    	{Bool, 1, true, ""},
    	{Bool, int64(1), true, ""},
    	{Bool, uint16(1), true, ""},
    	{Bool, "false", false, ""},
    	{Bool, false, false, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:53:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/pprof/pprof.go

    func (*objTool) Demangle(names []string) (map[string]string, error) {
    	// No C++, nothing to demangle.
    	return make(map[string]string), nil
    }
    
    func (t *objTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]driver.Inst, error) {
    	if intelSyntax {
    		return nil, fmt.Errorf("printing assembly in Intel syntax is not supported")
    	}
    	d, err := t.cachedDisasm(file)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/runtime/testdata/testexithooks/testexithooks.go

    	f3 := func() { println("blek") }
    	f4 := func() { println("blub") }
    	f5 := func() { println("blat") }
    	exithook.Add(exithook.Hook{F: f1})
    	exithook.Add(exithook.Hook{F: f2, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f3})
    	exithook.Add(exithook.Hook{F: f4, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f5})
    	os.Exit(1)
    }
    
    func testPanics() {
    	f1 := func() { println("ok") }
    	f2 := func() { panic("BADBADBAD") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top