Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for specs (0.17 sec)

  1. src/cmd/cgo/godefs.go

    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. cni/pkg/repair/repair_test_helpers.go

    					State: corev1.ContainerState{
    						Waiting: &corev1.ContainerStateWaiting{
    							Reason: "PodInitializing",
    						},
    					},
    				},
    			},
    		},
    	}
    	return pod
    }
    
    // Container specs
    var (
    	brokenInitContainerWaiting = corev1.ContainerStatus{
    		Name: constants.ValidationContainerName,
    		State: corev1.ContainerState{
    			Waiting: &corev1.ContainerStateWaiting{
    				Reason:  "CrashLoopBackOff",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    			if !ok {
    				ast2.Decls[w] = decl
    				w++
    				continue
    			}
    			ws := 0
    			for _, spec := range d.Specs {
    				s, ok := spec.(*ast.ImportSpec)
    				if !ok || s.Path.Value != `"C"` {
    					d.Specs[ws] = spec
    					ws++
    				}
    			}
    			if ws == 0 {
    				continue
    			}
    			d.Specs = d.Specs[0:ws]
    			ast2.Decls[w] = d
    			w++
    		}
    		ast2.Decls = ast2.Decls[0:w]
    	} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    			case *ast.GenDecl:
    				if isDeprecated(n.Doc) {
    					for _, spec := range n.Specs {
    						switch spec := spec.(type) {
    						case *ast.ValueSpec:
    							for _, id := range spec.Names {
    								mark(id)
    							}
    						case *ast.TypeSpec:
    							mark(spec.Name)
    						}
    					}
    				}
    				return true // look at specs
    			case *ast.FuncDecl:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    				ts := int64(attrBuf.uint64()) // ModTime since Windows epoch
    				secs := ts / ticksPerSecond
    				nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond)
    				epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC)
    				modified = time.Unix(epoch.Unix()+secs, nsecs)
    			}
    		case unixExtraID, infoZipUnixExtraID:
    			if len(fieldBuf) < 8 {
    				continue parseExtras
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    	}
    	if err := json.Unmarshal(uglyJSON, &decoded); err != nil {
    		return []string{}, err
    	}
    	if d, ok := decoded.(map[string]any); ok {
    		if v, ok := d["spec"]; ok {
    			// Fall back to showing the entire spec.
    			// (When --config-path is used there will be no spec to remove)
    			decoded = v
    		}
    	}
    	setflags, err := walk("", "", decoded)
    	if err != nil {
    		return []string{}, err
    	}
    	sort.Strings(setflags)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload_test.go

    	defaultYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata: {}
      template:
        serviceAccount: default
    `
    
    	customYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata:
        annotations:
          annotation: foobar
        labels:
          app: foo
          bar: baz
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. istioctl/pkg/util/handlers/handlers.go

    	switch t := object.(type) {
    	case *gatewayapi.Gateway:
    		if !gateway.IsManaged(&t.Spec) {
    			return "", nil, fmt.Errorf("gateway is not a managed gateway")
    		}
    		namespace = t.Namespace
    		selector, err = labels.Parse(constants.GatewayNameLabel + "=" + t.Name)
    	case *gatewayapibeta.Gateway:
    		if !gateway.IsManaged(&t.Spec) {
    			return "", nil, fmt.Errorf("gateway is not a managed gateway")
    		}
    		namespace = t.Namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/util/handlers/handlers_test.go

    			}
    		})
    	}
    }
    
    func attachPod(ns string) *corev1.Pod {
    	return &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo-abc", Namespace: ns, ResourceVersion: "10"},
    		Spec: corev1.PodSpec{
    			RestartPolicy: corev1.RestartPolicyAlways,
    			DNSPolicy:     corev1.DNSClusterFirst,
    			Containers: []corev1.Container{
    				{
    					Name: "bar",
    				},
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. internal/amztime/iso8601_time.go

    	iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision.
    )
    
    // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec.
    //
    // This function is needed to avoid a Go's float64 precision bug, where Go avoids
    // padding the extra '0' before the timezone.
    func ISO8601Format(t time.Time) string {
    	value := t.Format(iso8601TimeFormat)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top