Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 879 for RES (0.07 sec)

  1. src/go/format/internal.go

    	// Determine and prepend leading space.
    	i, j := 0, 0
    	for j < len(src) && isSpace(src[j]) {
    		if src[j] == '\n' {
    			i = j + 1 // byte offset of last line in leading space
    		}
    		j++
    	}
    	var res []byte
    	res = append(res, src[:i]...)
    
    	// Determine and prepend indentation of first code line.
    	// Spaces are ignored unless there are no tabs,
    	// in which case spaces count as one tab.
    	indent := 0
    	hasSpace := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/mkbuiltin.go

    		return "nil"
    	}
    
    	var res []string
    	for _, f := range fl.List {
    		typ := i.subtype(f.Type)
    		if len(f.Names) == 0 {
    			res = append(res, typ)
    		} else {
    			for _, name := range f.Names {
    				if keepNames {
    					res = append(res, fmt.Sprintf("types.NewField(src.NoXPos, Lookup(%q), %s)", name.Name, typ))
    				} else {
    					res = append(res, typ)
    				}
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. cluster/gce/gci/audit_policy_test.go

    	for _, usr := range users {
    		for _, verb := range verbs {
    			for _, res := range resources {
    				attrs := &authorizer.AttributesRecord{
    					User:            usr,
    					Verb:            verb,
    					Namespace:       res.Namespace,
    					APIGroup:        res.Group,
    					APIVersion:      "v1",
    					Resource:        res.Resource,
    					Subresource:     res.Subresource,
    					ResourceRequest: true,
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/ads_test.go

    	nonce := ""
    	sendEDSReqAndVerify := func(clusterName string) {
    		res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    			ResourceNames: []string{clusterName},
    			VersionInfo:   version,
    			ResponseNonce: nonce,
    		})
    		version = res.VersionInfo
    		nonce = res.Nonce
    		got := xdstest.MapKeys(xdstest.ExtractLoadAssignments(xdstest.UnmarshalClusterLoadAssignment(t, res.Resources)))
    		if len(got) != 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

    // CHECK-LABEL: func private @main_stream_{{[0-9]*}}
    // CHECK-SAME: ({{%.*}}: tensor<i32>, [[PROMISE:%.*]]: !mlrt.promise)
    // CHECK: tf.Sub
    // CHECK: tf.Sub
    // CHECK: tf.Sub
    // CHECK: [[RES:%.*]] = "tf.Sub"
    // CHECK: "tf_mlrt.tf_promise"([[PROMISE]], [[RES]])
    // CHECK: return
    
    // CHECK-LABEL: func @main
    // CHECK: [[PROMISE:%.*]], [[FUTURE:%.*]] = "tf_mlrt.allocate_futures"
    // CHECK: [[HANDLE:%.*]] = mlrt.async({{%.*}}, [[PROMISE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    	res := make([]Value, len(e.Elements))
    	if len(e.Elements) == 1 {
    		// If length 1, treat as single value.
    		return e.Elements[0].evalNode(r, tableAlias)
    	}
    	for i, elt := range e.Elements {
    		v, err := elt.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		res[i] = *v
    	}
    	return FromArray(res), nil
    }
    
    const floatCmpTolerance = 0.000001
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/waypoint.go

    			if !f || ws.MeshExternal {
    				outboundServices.Insert(ref)
    			}
    		}
    	}
    	res := make([]*model.Service, 0, len(outboundServices))
    	for _, s := range services {
    		if outboundServices.Contains(s.Hostname.String()) || extraServices.Contains(s.Hostname.String()) {
    			res = append(res, s)
    		}
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. pkg/bootstrap/option/convert.go

    				ValidationContextSdsSecretConfig: model.ConstructSdsSecretConfig(res.GetRootResourceName()),
    			},
    		}
    		tlsContext.CommonTlsContext.AlpnProtocols = model.ALPNH2Only
    		tlsContext.Sni = tls.Sni
    	case networkingAPI.ClientTLSSettings_MUTUAL:
    		res := security.SdsCertificateConfig{
    			CertificatePath:   model.GetOrDefault(metadata.TLSClientCertChain, tls.ClientCertificate),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/plugin/authn/authentication.go

    			return []*hcm.HttpFilter{filter}
    		}
    		return nil
    	}
    	res := []*hcm.HttpFilter{}
    	if filter := b.applier.JwtFilter(false, false); filter != nil {
    		res = append(res, filter)
    	}
    	forSidecar := b.proxy.Type == model.SidecarProxy
    	if filter := b.applier.AuthNFilter(forSidecar); filter != nil {
    		res = append(res, filter)
    	}
    
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/healthServer_test.go

    }
    
    func makeReq(t *testing.T, url, endpoint string, expectedStatusCode int) {
    	t.Helper()
    	res, err := http.Get(url + endpoint)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer res.Body.Close()
    	if res.StatusCode != expectedStatusCode {
    		t.Fatalf("expected status code from %s: %d, got: %d", endpoint, expectedStatusCode, res.StatusCode)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top