Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 648 for max (0.03 sec)

  1. tests/scopes_test.go

    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    		return db.WithContext(context.Background()).Table("users")
    	}
    	if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil {
    		t.Errorf("select max(id)")
    	}
    }
    
    func TestComplexScopes(t *testing.T) {
    	tests := []struct {
    		name     string
    		queryFn  func(tx *gorm.DB) *gorm.DB
    		expected string
    	}{
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/resources/fess_message_de.properties

    constraints.Digits.message      = {item} is numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected).
    constraints.Future.message      = {item} muss in der Zukunft liegen.
    constraints.Max.message         = {item} muss kleiner oder gleich {value} sein.
    constraints.Min.message         = {item} muss größer oder gleich {value} sein.
    constraints.NotNull.message     = {item} darf nicht leer sein.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 29 15:01:03 UTC 2019
    - 11.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multisets;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

        private static final long serialVersionUID = 1L;
    
        //@Maxbytelength(maxbytelength = 1000)
        public String url;
    
        //@IntRange(min = 0, max = 2147483647)
        public String errorCountMin;
    
        //@IntRange(min = 0, max = 2147483647)
        public String errorCountMax;
    
        //@Maxbytelength(maxbytelength = 1000)
        public String errorName;
    
        public static final int DEFAULT_PAGE_SIZE = 20;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static long max(long... array) {
        checkArgument(array.length > 0);
        long max = flip(array[0]);
        for (int i = 1; i < array.length; i++) {
          long next = flip(array[i]);
          if (next > max) {
            max = next;
          }
        }
        return flip(max);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. internal/s3select/sql/value_test.go

    			wantOK: true,
    		},
    		{
    			name: "max",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MaxInt64, 10)),
    			},
    			want:   math.MaxInt64,
    			wantOK: true,
    		},
    		{
    			name: "min",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MinInt64, 10)),
    			},
    			want:   math.MinInt64,
    			wantOK: true,
    		},
    		{
    			name: "max-overflow",
    			fields: fields{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    				min, err := toInteger(condt[1])
    				if err != nil {
    					return parsedPolicy, err
    				}
    
    				max, err := toInteger(condt[2])
    				if err != nil {
    					return parsedPolicy, err
    				}
    
    				parsedPolicy.Conditions.ContentLengthRange = contentLengthRange{
    					Min:   min,
    					Max:   max,
    					Valid: true,
    				}
    			default:
    				// Condition should be valid.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    	// Ignore the uuid sentinel and count the rest.
    	for _, etag := range etags {
    		if etag == "" {
    			continue
    		}
    		etagOccurrenceMap[etag]++
    	}
    
    	maxima = 0 // Counter for remembering max occurrence of elements.
    	latest := ""
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for etag, count := range etagOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    cci = Math.max(cci, createContextStart + nameOffset + nameLength);
    
                    CreateContextResponse cc = createContext(nameBytes);
                    if ( cc != null ) {
                        cc.decode(buffer, createContextStart + dataOffset, dataLength);
                        contexts.add(cc);
                    }
    
                    cci = Math.max(cci, createContextStart + dataOffset + dataLength);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
        public void decode_out(NdrBuffer buf) throws NdrException {
            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long();  /* assoc. group */
            int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
Back to top