Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for modkey (0.86 sec)

  1. src/log/slog/text_handler_test.go

    			Any("a", nil),
    			`a`, `<nil>`,
    		},
    	} {
    		t.Run(test.name, func(t *testing.T) {
    			for _, opts := range []struct {
    				name       string
    				opts       HandlerOptions
    				wantPrefix string
    				modKey     func(string) string
    			}{
    				{
    					"none",
    					HandlerOptions{},
    					`time=2000-01-02T03:04:05.000Z level=INFO msg="a message"`,
    					func(s string) string { return s },
    				},
    				{
    					"replace",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 19:05:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/init.go

    				// actually selected.
    				r := resolveReplacement(m)
    				keep[modkey(r)] = true
    			}
    		})
    
    		if which == addBuildListZipSums {
    			for _, m := range mg.BuildList() {
    				r := resolveReplacement(m)
    				if keepModSumsForZipSums {
    					keep[modkey(r)] = true // we need the go version from the go.mod file to do anything useful with the zipfile
    				}
    				keep[r] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/build.go

    			if checksumOk("/go.mod") {
    				gomod, err := modfetch.CachePath(ctx, mod, "mod")
    				if err == nil {
    					if info, err := os.Stat(gomod); err == nil && info.Mode().IsRegular() {
    						m.GoMod = gomod
    					}
    				}
    				if gomodsum, ok := modfetch.RecordedSum(modkey(mod)); ok {
    					m.GoModSum = gomodsum
    				}
    			}
    			if checksumOk("") {
    				dir, err := modfetch.DownloadDir(ctx, mod)
    				if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            final String minKey = constraintAnnotation.minKey();
            if (StringUtil.isNotBlank(minKey)) {
                min = Integer.parseInt(fessConfig.get(minKey));
            }
            final String maxKey = constraintAnnotation.maxKey();
            if (StringUtil.isNotBlank(maxKey)) {
                max = Integer.parseInt(fessConfig.get(maxKey));
            }
            message = constraintAnnotation.message();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/typeconversion/MapKey.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.PARAMETER)
    public @interface MapKey {
        String value();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 940 bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/core.v1.LimitRange.yaml

      selfLink: selfLinkValue
      uid: uidValue
    spec:
      limits:
      - default:
          defaultKey: "0"
        defaultRequest:
          defaultRequestKey: "0"
        max:
          maxKey: "0"
        maxLimitRequestRatio:
          maxLimitRequestRatioKey: "0"
        min:
          minKey: "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. pkg/controller/volume/ephemeral/controller_test.go

    			expectedMetrics: expectedMetrics{1, 0},
    		},
    		{
    			name:   "no-such-pod",
    			podKey: podKey(testPodWithEphemeral),
    		},
    		{
    			name: "pod-deleted",
    			pods: func() []*v1.Pod {
    				deleted := metav1.Now()
    				pods := []*v1.Pod{testPodWithEphemeral.DeepCopy()}
    				pods[0].DeletionTimestamp = &deleted
    				return pods
    			}(),
    			podKey: podKey(testPodWithEphemeral),
    		},
    		{
    			name:   "no-volumes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/cluster/cluster.go

    				if c.Name == inject.ProxyContainerName {
    					out.insertContainer(p.Namespace, deployment, p.Name, c.Name)
    				}
    			}
    		}
    
    		out.Labels[PodKey(p.Namespace, p.Name)] = p.Labels
    		out.Annotations[PodKey(p.Namespace, p.Name)] = p.Annotations
    		out.Pod[PodKey(p.Namespace, p.Name)] = &pods.Items[i]
    	}
    
    	return out, nil
    }
    
    // Resources defines a tree of cluster resource names.
    type Resources struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (1)
  9. pkg/controller/resourceclaim/controller_test.go

    			pods:          []*v1.Pod{testPodWithResource},
    			templates:     nil,
    			key:           podKey(testPodWithResource),
    			expectedError: true,
    		},
    		{
    			name:           "find-existing-claim-by-label",
    			pods:           []*v1.Pod{testPodWithResource},
    			key:            podKey(testPodWithResource),
    			claims:         []*resourcev1alpha2.ResourceClaim{generatedTestClaim},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. model.go

    package gorm
    
    import "time"
    
    // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
    // It may be embedded into your model or you may build your own model without it
    //
    //	type User struct {
    //	  gorm.Model
    //	}
    type Model struct {
    	ID        uint `gorm:"primarykey"`
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	DeletedAt DeletedAt `gorm:"index"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 396 bytes
    - Viewed (0)
Back to top