Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for should (0.22 sec)

  1. tests/migrate_test.go

    	}
    
    	// RelationModel3 should be existed
    	_, err = findColumnType(&RelationModel3{}, "id")
    	AssertEqual(t, nil, err)
    
    	// RelationModel1 should not be existed
    	_, err = findColumnType(&RelationModel1{}, "id")
    	if err == nil {
    		t.Errorf("RelationModel1 should not be migrated")
    	}
    
    	// RelationModel2 should not be existed
    	_, err = findColumnType(&RelationModel2{}, "id")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

      @CheckForNull Strength valueStrength;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterWriteNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterAccessNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long refreshNanos = UNSET_INT;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  3. tests/query_test.go

    	if result.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result.ID)
    	}
    
    	if user.Name != result.Name {
    		t.Errorf("Should have user Name when selected it")
    	}
    
    	var result2 User
    	DB.Where("name = ?", user.Name).Select("name as name").Find(&result2)
    	if result2.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result2.ID)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    		versionID              string
    	}{
    		// Empty object name (unexpected case) should always return NoneAction
    		{
    			inputConfig:    `<LifecycleConfiguration><Rule><Filter><Prefix>prefix</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    			expectedAction: NoneAction,
    		},
    		// Disabled should always return NoneAction
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

         * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw
         * IllegalArgumentException, since the call could succeed with a different argument. Those
         * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends
         * IllegalArgumentException here, in part to keep its recommendation simple: Static methods
         * should throw IllegalStateException only when they use static state.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * which the elements are provided to the method.
       *
       * @param anElement one of the elements the set should contain
       * @param otherElements the rest of the elements the set should contain
       * @return an immutable set containing those elements, minus duplicates
       */
      // http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      repeated string paths = 1;
    }
    
    // ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
    message ServerAddressByClientCIDR {
      // The CIDR with which clients can match their IP to figure out the server address that they should use.
      optional string clientCIDR = 1;
    
      // Address of this server, suitable for a client that matches the above CIDR.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //   system scheduling and as such we could either miss our deadline, or unpark() could be delayed
      //   so that it looks like we timed out even though we didn't. For comparison FutureTask respects
      //   completion preferably and AQS is non-deterministic (depends on where in the queue the waiter
      //   is). If we wanted to be strict about it, we could store the unpark() time in the Waiter node
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    		// If marker is *after* the last possible object from the prefix it should return an empty list.
    		{"test-bucket-list-object", "Asia", "europe-object", "", 0, ListObjectsInfo{}, nil, true},
    		// If the marker is *before* the first possible object from the prefix it should return the first object.
    		{"test-bucket-list-object", "Asia", "A", "", 1, resultCases[4], nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		}
    	}
    }
    
    func TestXLStorageIsDirEmpty(t *testing.T) {
    	tmp := t.TempDir()
    
    	// Should give false on non-existent directory.
    	dir1 := slashpath.Join(tmp, "non-existent-directory")
    	if isDirEmpty(dir1, true) {
    		t.Error("expected false for non-existent directory, got true")
    	}
    
    	// Should give false for not-a-directory.
    	dir2 := slashpath.Join(tmp, "file")
    	err := os.WriteFile(dir2, []byte("hello"), 0o777)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top