Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for fieldsV1 (0.15 sec)

  1. src/cmd/dist/build.go

    		CgoSupported bool
    		FirstClass   bool
    		Broken       bool `json:",omitempty"`
    	}
    	var results []jsonResult
    	for _, p := range plats {
    		fields := strings.Split(p, "/")
    		results = append(results, jsonResult{
    			GOOS:         fields[0],
    			GOARCH:       fields[1],
    			CgoSupported: cgoEnabled[p],
    			FirstClass:   firstClass[p],
    			Broken:       broken[p],
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier.go

    	if err != nil {
    		return nil, err
    	}
    
    	lines := strings.Split(string(b), "\n")
    	words := make([]string, 0, len(lines))
    	for i := range lines {
    		fields := strings.Fields(lines[i])
    		if len(fields) > 0 {
    			words = append(words, fields[0])
    		}
    	}
    	return words, nil
    }
    
    // CanUseIPVSProxier checks if we can use the ipvs Proxier.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		}
    	}
    
    	fooPredicate := storage.SelectionPredicate{
    		Label: labels.SelectorFromSet(map[string]string{"foo": "true"}),
    		Field: fields.Everything(),
    	}
    	barPredicate := storage.SelectionPredicate{
    		Label: labels.SelectorFromSet(map[string]string{"bar": "true"}),
    		Field: fields.Everything(),
    	}
    
    	createWatch := func(pred storage.SelectionPredicate) watch.Interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. src/go/build/build.go

    		if len(line) < 5 || line[:4] != "#cgo" || (line[4] != ' ' && line[4] != '\t') {
    			continue
    		}
    
    		// #cgo (nocallback|noescape) <function name>
    		if fields := strings.Fields(line); len(fields) == 3 && (fields[1] == "nocallback" || fields[1] == "noescape") {
    			continue
    		}
    
    		// Split at colon.
    		line, argstr, ok := strings.Cut(strings.TrimSpace(line[4:]), ":")
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/crypto/x509/x509.go

    )
    
    // pssParameters reflects the parameters in an AlgorithmIdentifier that
    // specifies RSA PSS. See RFC 3447, Appendix A.2.3.
    type pssParameters struct {
    	// The following three fields are not marked as
    	// optional because the default values specify SHA-1,
    	// which is no longer suitable for use in signatures.
    	Hash         pkix.AlgorithmIdentifier `asn1:"explicit,tag:0"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  6. src/net/http/transport.go

    // This may leave many open connections when accessing many hosts.
    // This behavior can be managed using [Transport.CloseIdleConnections] method
    // and the [Transport.MaxIdleConnsPerHost] and [Transport.DisableKeepAlives] fields.
    //
    // Transports should be reused instead of created as needed.
    // Transports are safe for concurrent use by multiple goroutines.
    //
    // A Transport is a low-level primitive for making HTTP and HTTPS requests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    	tests := []struct {
    		name string
    		obj  Object
    	}{
    		// Struct fields
    		{"field", lookup("t").Underlying().(*Struct).Field(0)},
    		{"field", fnScope.Lookup("r").Type().Underlying().(*Struct).Field(0)},
    
    		// Methods and method fields
    		{"concreteMethod", lookup("t").(*Named).Method(0)},
    		{"recv", lookup("t").(*Named).Method(0).Type().(*Signature).Recv()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. src/runtime/mheap.go

    //
    // Setting mspan.state to mSpanInUse or mSpanManual must be done
    // atomically and only after all other span fields are valid.
    // Likewise, if inspecting a span is contingent on it being
    // mSpanInUse, the state should be loaded atomically and checked
    // before depending on other fields. This allows the garbage collector
    // to safely deal with potentially invalid pointers, since resolving
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    	tests := []struct {
    		name string
    		obj  Object
    	}{
    		// Struct fields
    		{"field", lookup("t").Underlying().(*Struct).Field(0)},
    		{"field", fnScope.Lookup("r").Type().Underlying().(*Struct).Field(0)},
    
    		// Methods and method fields
    		{"concreteMethod", lookup("t").(*Named).Method(0)},
    		{"recv", lookup("t").(*Named).Method(0).Signature().Recv()},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	actual := sets.New[string]()
    	for _, c := range fakeRuntime.Containers {
    		actual.Insert(c.Id)
    	}
    	return actual, actual.Equal(expected)
    }
    
    // Only extract the fields of interests.
    type cRecord struct {
    	name    string
    	attempt uint32
    	state   runtimeapi.ContainerState
    }
    
    type cRecordList []*cRecord
    
    func (b cRecordList) Len() int      { return len(b) }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top