Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,290 for inrange (0.05 seconds)

  1. tests/preload_test.go

    	}
    
    	for _, user := range users {
    		for idx, pet := range user.Pets {
    			pet.Toy = Toy{Name: user.Name + "_toy_nested_preload_" + strconv.Itoa(idx+1)}
    		}
    	}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	var userIDs []uint
    	for _, user := range users {
    		userIDs = append(userIDs, user.ID)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:00:47 GMT 2024
    - 15.9K bytes
    - Click Count (0)
  2. cmd/utils_test.go

    		keys      []string
    		keyvalues []string
    	}{
    		{
    			[]string{"aaaa", "bbbb"},
    			[]string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"},
    		},
    	}
    
    	for i, test := range testCases {
    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    				t.Fatalf("test %d: keyvalues[%d] does not match", i+1, j)
    			}
    		}
    	}
    }
    
    func TestLCP(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
         * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for
         * "[2.2.1,)", i.e. denotes the minimum version required.
         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  4. schema/index.go

    	indexesByName := map[string]*Index{}
    	indexes := []*Index{}
    
    	for _, field := range schema.Fields {
    		if field.TagSettings["INDEX"] != "" || field.TagSettings["UNIQUEINDEX"] != "" {
    			fieldIndexes, err := parseFieldIndexes(field)
    			if err != nil {
    				schema.err = err
    				break
    			}
    			for _, index := range fieldIndexes {
    				idx := indexesByName[index.Name]
    				if idx == nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. cmd/net_test.go

    		expectedPort string
    	}{
    		{":54321", "", "54321"},
    		{"server:54321", "server", "54321"},
    		{":0", "", "0"},
    		{"server:https", "server", "443"},
    		{"server:http", "server", "80"},
    	}
    
    	for _, testCase := range testCases {
    		host, port := mustSplitHostPort(testCase.hostPort)
    		if testCase.expectedHost != host {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host)
    		}
    
    		if testCase.expectedPort != port {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         *         specified version range.
         *         <p>
         *         The restrictions of the returned version range will be an intersection of the restrictions
         *         of this version range and the specified version range if both version ranges have
         *         restrictions. Otherwise, the restrictions on the returned range will be empty.
         *         </p>
         *         <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. LICENSE

    publicly available network server or other readily accessible means,
    then you must either (1) cause the Corresponding Source to be so
    available, or (2) arrange to deprive yourself of the benefit of the
    patent license for this particular work, or (3) arrange, in a manner
    consistent with the requirements of this License, to extend the patent
    license to downstream recipients.  "Knowingly relying" means you have
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Click Count (0)
  8. cmd/local-locker_test.go

    					// Expire 50%
    					toUnLock := make([]dsync.LockArgs, 0, locks*readers)
    					for k, v := range l.lockMap {
    						for _, lock := range v {
    							if rng.Intn(2) == 0 {
    								toUnLock = append(toUnLock, dsync.LockArgs{Resources: []string{k}, UID: lock.UID})
    							}
    						}
    					}
    					start := time.Now()
    					for _, lock := range toUnLock {
    						ok, err := l.ForceUnlock(t.Context(), lock)
    						if err != nil || !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. cmd/postpolicyform.go

    func isString(val any) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    // ContentLengthRange - policy content-length-range field.
    type contentLengthRange struct {
    	Min   int64
    	Max   int64
    	Valid bool // If content-length-range was part of policy
    }
    
    // PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string.
    type PostPolicyForm struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final SQLException sqlException = new SQLException("some reason", "fooState", 7650);
            final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top