Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 265 for desc1 (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics_test.go

    	defer registry.Reset()
    	registry.Register(decodeErrorCounts)
    	resourceName := "pods"
    	testedMetrics := "apiserver_storage_decode_errors_total"
    	testCases := []struct {
    		desc     string
    		resource string
    		want     string
    	}{
    		{
    			desc:     "test success",
    			resource: resourceName,
    			want: `
    		# HELP apiserver_storage_decode_errors_total [ALPHA] Number of stored object decode errors split by object type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/errors.go

    	// Otherwise, call it once, with a single combined message.
    	multiError := false
    	if !isTypes2 {
    		for i := 1; i < len(err.desc); i++ {
    			if err.desc[i].pos.IsKnown() {
    				multiError = true
    				break
    			}
    		}
    	}
    
    	if multiError {
    		for i := range err.desc {
    			p := &err.desc[i]
    			check.handleError(i, p.pos, err.code, p.msg, err.soft)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/go/types/errors.go

    	// Otherwise, call it once, with a single combined message.
    	multiError := false
    	if !isTypes2 {
    		for i := 1; i < len(err.desc); i++ {
    			if err.desc[i].posn.Pos().IsValid() {
    				multiError = true
    				break
    			}
    		}
    	}
    
    	if multiError {
    		for i := range err.desc {
    			p := &err.desc[i]
    			check.handleError(i, p.posn, err.code, p.msg, err.soft)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/LimitedDescriptionTest.groovy

        @SuppressWarnings("deprecation")
        def desc = new LimitedDescription(2)
    
        def "has limited description"() {
            when:
            desc.append("0").append("one").append("2").append("three !")
    
            then:
            desc.toString() == """2
    three !
    """
        }
    
        def "is described even when empty"() {
            expect:
            desc.toString().length() != 0
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. pkg/kubelet/nodestatus/setters_test.go

    	)
    
    	cases := []struct {
    		desc           string
    		maxImages      int32
    		imageList      []kubecontainer.Image
    		imageListError error
    		expectError    error
    	}{
    		{
    			desc:      "max images enforced",
    			maxImages: 1,
    			imageList: makeImageList(2, 1, minImageSize, maxImageSize),
    		},
    		{
    			desc:      "no max images cap for -1",
    			maxImages: -1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            assertTrue(desc, isTimed(method));
            break;
          case 3:
            assertTrue(desc, isGuarded(method));
            assertTrue(desc, isTimed(method));
            break;
          default:
            fail(desc);
        }
    
        if (method.getReturnType() == void.class) {
          assertFalse(desc, isBoolean(method));
        } else {
          assertTrue(desc, isBoolean(method));
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

        "experimental-prune-unreachable-nodes-unconditionally",
        llvm::cl::desc("Prune nodes that are not ancestors of the output nodes."),
        llvm::cl::location(experimental_prune_unreachable_nodes_unconditionally),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    static opt<std::string> input_arrays_flag(
        "input-arrays",
        llvm::cl::desc(
            "List of input tensors, if different from the default inputs"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonDiagnosticsTest.groovy

            def log = temp.file("foo.log")
            log << "hey joe!"
            def diagnostics = new DaemonDiagnostics(log, 123)
    
            when:
            String desc = diagnostics.describe()
    
            then:
            desc.contains "123"
            desc.contains log.name
            desc.contains "hey joe!"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

    opt<std::string> input_path(llvm::cl::Positional,
                                llvm::cl::desc("<input path>"), llvm::cl::Required);
    
    // NOLINTNEXTLINE
    opt<std::string> output_filename("o", llvm::cl::desc("<output path>"),
                                     llvm::cl::Optional, llvm::cl::init("-"));
    
    // NOLINTNEXTLINE
    opt<std::string> input_arg_shapes_str(
        "input-arg-shapes",
        llvm::cl::desc(
            "A string representation of input argument shapes for 'main' "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/podresources/server_v1_test.go

    		},
    	}
    
    	for _, tc := range []struct {
    		desc             string
    		pods             []*v1.Pod
    		devices          []*podresourcesapi.ContainerDevices
    		cpus             []int64
    		memory           []*podresourcesapi.ContainerMemory
    		dynamicResources []*podresourcesapi.DynamicResource
    		expectedResponse *podresourcesapi.ListPodResourcesResponse
    	}{
    		{
    			desc:             "no pods",
    			pods:             []*v1.Pod{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top