Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 879 for RES (0.02 sec)

  1. pkg/kube/inject/template.go

    		return "{}"
    	}
    
    	return m
    }
    
    func indent(spaces int, source string) string {
    	res := strings.Split(source, "\n")
    	for i, line := range res {
    		if i > 0 {
    			res[i] = fmt.Sprintf(fmt.Sprintf("%% %ds%%s", spaces), "", line)
    		}
    	}
    	return strings.Join(res, "\n")
    }
    
    func toYaml(value any) string {
    	y, err := yaml.Marshal(value)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            httpBuildCacheServer.addResponder { req, res ->
                if (req.method == "PUT") {
                    res.setHeader("location", "/ok")
                    res.setStatus(301)
                    res.writer.close()
                    false
                } else if (req.requestURI == "/ok") {
                    res.setStatus(200)
                    res.writer.close()
                    false
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                ProjectBuildingResult res;
                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. cni/pkg/plugin/kubernetes.go

    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    	res = append(res, pod.Spec.Containers...)
    	return res
    }
    
    func (pi PodInfo) String() string {
    	var b strings.Builder
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/fold_broadcast.mlir

      %1 = mhlo.multiply %0, %cst1 : tensor<1x1x2x4xf32>
      // CHECK:      return %[[RES]] : tensor<1x1x2x4xf32>
      func.return %1 : tensor<1x1x2x4xf32>
    }
    
    // CHECK-LABEL: @foldBroadcastInDimBeforeMulOp_bcast_dim_2D_float
    func.func @foldBroadcastInDimBeforeMulOp_bcast_dim_2D_float() -> (tensor<1x2x2x3xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. cni/pkg/plugin/cnieventclient_test.go

    	// Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate  req/resp flows
    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. pilot/pkg/xds/delta.go

    	res := sets.New(existing...)
    	res.InsertAll(request.ResourceNamesSubscribe...)
    	// This is set by Envoy on first request on reconnection so that we are aware of what Envoy knows
    	// and can continue the xDS session properly.
    	for k := range request.InitialResourceVersions {
    		res.Insert(k)
    	}
    	res.DeleteAll(request.ResourceNamesUnsubscribe...)
    	wildcard := false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. src/internal/trace/internal/oldtrace/parser_test.go

    // checkTrace walks over a good trace and makes a bunch of additional checks
    // that may not cause the parser to outright fail.
    func checkTrace(t *testing.T, ver int, res Trace) {
    	for i := 0; i < res.Events.Len(); i++ {
    		ev := res.Events.Ptr(i)
    		if ver >= 21 {
    			if ev.Type == EvSTWStart && res.Strings[ev.Args[0]] == "unknown" {
    				t.Errorf("found unknown STW event; update stwReasonStrings?")
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/internal/poll/fd_poll_runtime.go

    	pollErrTimeout     = 2
    	pollErrNotPollable = 3
    )
    
    func convertErr(res int, isFile bool) error {
    	switch res {
    	case pollNoError:
    		return nil
    	case pollErrClosing:
    		return errClosing(isFile)
    	case pollErrTimeout:
    		return ErrDeadlineExceeded
    	case pollErrNotPollable:
    		return ErrNotPollable
    	}
    	println("unreachable: ", res)
    	panic("unreachable")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/internal/coverage/test/roundtrip_test.go

    		var fn coverage.FuncDesc
    		if err := dec.ReadFunc(i, &fn); err != nil {
    			t.Fatalf("err reading function %d: %v", i, err)
    		}
    		res := cmpFuncDesc(cases[i], fn)
    		if res != "" {
    			t.Errorf("ReadFunc(%d): %s", i, res)
    		}
    	}
    }
    
    func createFuncs(i int) []coverage.FuncDesc {
    	res := []coverage.FuncDesc{}
    	lc := uint32(1)
    	for fi := 0; fi < i+1; fi++ {
    		units := []coverage.CoverableUnit{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top