Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for desc2 (0.06 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go

    //go:build (darwin && !ios) || zos
    
    package unix
    
    // SysvShmCtl performs control operations on the shared memory segment
    // specified by id.
    func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
    	return shmctl(id, cmd, desc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 407 bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTypeModelRuleExtractorTest.groovy

                assert role == ModelActionRole.Mutate
                assert action.subject == ModelReference.of(ComponentSpecFactory)
            }
            0 * _
        }
    
        def "decent error message for rule declaration problem - #descr"() {
            def ruleMethod = ruleDefinitionForMethod(methodName)
            def ruleDescription = getStringDescription(ruleMethod.method)
    
            when:
            extract(ruleMethod)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/volume_stats.go

    	podStats, err := collector.statsProvider.ListPodStats(ctx)
    	if err != nil {
    		return
    	}
    	addGauge := func(desc *metrics.Desc, pvcRef *stats.PVCReference, v float64, lv ...string) {
    		lv = append([]string{pvcRef.Namespace, pvcRef.Name}, lv...)
    		ch <- metrics.NewLazyConstMetric(desc, metrics.GaugeValue, v, lv...)
    	}
    	allPVCs := sets.Set[string]{}
    	for _, podStat := range podStats {
    		if podStat.VolumeStats == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/fix/main.go

    	for _, f := range fixes {
    		if f.disabled {
    			fmt.Fprintf(os.Stderr, "\n%s (disabled)\n", f.name)
    		} else {
    			fmt.Fprintf(os.Stderr, "\n%s\n", f.name)
    		}
    		desc := strings.TrimSpace(f.desc)
    		desc = strings.ReplaceAll(desc, "\n", "\n\t")
    		fmt.Fprintf(os.Stderr, "\t%s\n", desc)
    	}
    	os.Exit(2)
    }
    
    func main() {
    	telemetry.Start()
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("fix/invocations")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. pkg/apis/storage/v1beta1/defaults_test.go

    	enabled := true
    	disabled := false
    	tests := []struct {
    		desc     string
    		field    string
    		wantSpec *storagev1beta1.CSIDriverSpec
    	}{
    		{
    			desc:     "AttachRequired default to true",
    			field:    "AttachRequired",
    			wantSpec: &storagev1beta1.CSIDriverSpec{AttachRequired: &enabled},
    		},
    		{
    			desc:     "PodInfoOnMount default to false",
    			field:    "PodInfoOnMount",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/gradle/DependencyConstraintSpec.groovy

            group = g
            module = m
            version = v
            this.preferredVersion = preferredVersion
            this.strictVersion = strictVersion
            rejects = r?:Collections.<String>emptyList()
            reason = desc
            attributes = attrs
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProviderTest.groovy

            CustomRunner(Class<?> clazz) {}
    
            @Override
            Description getDescription() {
                Description desc = Description.createSuiteDescription("SUITE")
                desc.addChild(Description.createTestDescription("SUITE", "CHILD"))
                return desc
            }
    
            @Override
            void run(RunNotifier notifier) {}
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/fix/main_test.go

    			}
    		}
    	}
    	testCases = append(testCases, t...)
    }
    
    func fnop(*ast.File) bool { return false }
    
    func parseFixPrint(t *testing.T, fn func(*ast.File) bool, desc, in string, mustBeGofmt bool) (out string, fixed, ok bool) {
    	file, err := parser.ParseFile(fset, desc, in, parserMode)
    	if err != nil {
    		t.Errorf("parsing: %v", err)
    		return
    	}
    
    	outb, err := gofmtFile(file)
    	if err != nil {
    		t.Errorf("printing: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/util/util_test.go

    			expectedSandboxID: "sandboxID1",
    		},
    	} {
    		t.Run(desc, func(t *testing.T) {
    			changed, attempt, id := PodSandboxChanged(test.pod, test.status)
    			require.Equal(t, test.expectedChanged, changed)
    			require.Equal(t, test.expectedAttempt, attempt)
    			require.Equal(t, test.expectedSandboxID, id)
    		})
    	}
    }
    
    func TestNamespacesForPod(t *testing.T) {
    	for desc, test := range map[string]struct {
    		input    *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics_test.go

    	"k8s.io/component-base/metrics/testutil"
    )
    
    func TestRecordAuthorizationMatchConditionEvaluationFailure(t *testing.T) {
    	testCases := []struct {
    		desc      string
    		metrics   []string
    		name      string
    		authztype string
    		want      string
    	}{
    		{
    			desc: "evaluation failure total",
    			metrics: []string{
    				"apiserver_authorization_match_condition_evaluation_errors_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top