Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for names_ (0.16 sec)

  1. tests/query_test.go

    	}
    
    	DB.Create(&users)
    
    	var names []string
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Order("name").Pluck("name", &names).Error; err != nil {
    		t.Errorf("got error when pluck name: %v", err)
    	}
    
    	var names2 []string
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Order("name desc").Pluck("name", &names2).Error; err != nil {
    		t.Errorf("got error when pluck name: %v", err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  2. src/os/os_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	names1, err := df.Readdirnames(1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err = df.Seek(0, 0); err != nil {
    		t.Fatal(err)
    	}
    	names2, err := df.Readdirnames(0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(names2) != 3 {
    		t.Fatalf("first names: %v, second names: %v", names1, names2)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	}
    	if len(spec.Names.Kind) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath.Child("names", "kind"), ""))
    	}
    	if len(spec.Names.ListKind) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath.Child("names", "listKind"), ""))
    	}
    
    	allErrs = append(allErrs, ValidateCustomResourceDefinitionNames(&spec.Names, fldPath.Child("names"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			s := n.C[:len(n.C)-3] + "GetTypeID"
    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    		// Otherwise, we'll need to find out from gcc.
    		names = append(names, n)
    	}
    
    	// Bypass gcc if there's nothing left to find out.
    	if len(names) == 0 {
    		return needType
    	}
    
    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. src/go/build/build.go

    //	name_$(GOOS)_test.*
    //	name_$(GOARCH)_test.*
    //	name_$(GOOS)_$(GOARCH)_test.*
    //
    // Exceptions:
    // if GOOS=android, then files with GOOS=linux are also matched.
    // if GOOS=illumos, then files with GOOS=solaris are also matched.
    // if GOOS=ios, then files with GOOS=darwin are also matched.
    func (ctxt *Context) goodOSArchFile(name string, allTags map[string]bool) bool {
    	name, _, _ = strings.Cut(name, ".")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/validation/validation.go

    func mutatingHasUniqueWebhookNames(webhooks []admissionregistration.MutatingWebhook) bool {
    	names := sets.NewString()
    	for _, hook := range webhooks {
    		if names.Has(hook.Name) {
    			return false
    		}
    		names.Insert(hook.Name)
    	}
    	return true
    }
    
    // validatingHasUniqueWebhookNames returns true if all webhooks have unique names
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier.go

    	//
    	// Namespace, Service, and Port names can contain [a-z0-9-] (with some additional
    	// restrictions that aren't relevant here).
    	//
    	// Protocol is /(tcp|udp|sctp)/.
    	//
    	// Thus, we can safely use all Namespace names, Service names, protocol values,
    	// and Port names directly in nftables chain names (though note that this assumes
    	// that the chain name won't *start* with any of those strings, since that might
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      // don't inherit from TestInfo.
      ~TestInfo();
    
      // Returns the test case name.
      const char* test_case_name() const { return test_case_name_.c_str(); }
    
      // Returns the test name.
      const char* name() const { return name_.c_str(); }
    
      // Returns the name of the parameter type, or NULL if this is not a typed
      // or a type-parameterized test.
      const char* type_param() const {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * starting the build.</p>
         *
         * @return The default task names. Returns an empty list if this project has no default tasks.
         */
        List<String> getDefaultTasks();
    
        /**
         * <p>Sets the names of the default tasks of this project. These are used when no tasks names are provided when
         * starting the build.</p>
         *
         * @param defaultTasks The default task names.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		0: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "Asia-maps.png"},
    				{Name: "Asia/India/India-summer-photos-1"},
    				{Name: "Asia/India/Karnataka/Bangalore/Koramangala/pics"},
    				{Name: "newPrefix0"},
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    				{Name: "obj0"},
    				{Name: "obj1"},
    				{Name: "obj2"},
    			},
    		},
    		// ListObjectsResult-1.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top