Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 621 for arrange (0.12 seconds)

  1. callbacks/preload.go

    		}
    		if value != "" {
    			preloadMap[name][value] = args
    		}
    	}
    
    	for name, args := range preloads {
    		preloadFields := strings.Split(name, ".")
    		value := strings.TrimPrefix(strings.TrimPrefix(name, preloadFields[0]), ".")
    		if preloadFields[0] == clause.Associations {
    			for _, relation := range s.Relationships.Relations {
    				if relation.Schema == s {
    					setPreloadMap(relation.Name, value, args)
    				}
    			}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/GeneralRange.java

      /** Converts a Range to a GeneralRange. */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      private final int replacementsLength;
      // The first character in the safe range.
      private final char safeMin;
      // The last character in the safe range.
      private final char safeMax;
    
      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  4. scan.go

    	if db.Statement.Schema != nil {
    		for idx, name := range columns {
    			if field := db.Statement.Schema.LookUpField(name); field != nil {
    				values[idx] = reflect.New(reflect.PointerTo(field.FieldType)).Interface()
    				continue
    			}
    			values[idx] = new(interface{})
    		}
    	} else if len(columnTypes) > 0 {
    		for idx, columnType := range columnTypes {
    			if columnType.ScanType() != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. callbacks/associations.go

    			// Save Belongs To associations
    			for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
    				if v, ok := selectColumns[rel.Name]; (ok && !v) || (!ok && restricted) {
    					continue
    				}
    
    				setupReferences := func(obj reflect.Value, elem reflect.Value) {
    					for _, ref := range rel.References {
    						if !ref.OwnPrimaryKey {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Feb 13 06:16:26 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
         * @return the parsed version range, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Click Count (0)
  7. cmd/tier-last-day-stats_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(z)))
    	for zb0007, zb0008 := range z {
    		o = msgp.AppendString(o, zb0007)
    		// map header, size 2
    		// string "Bins"
    		o = append(o, 0x82, 0xa4, 0x42, 0x69, 0x6e, 0x73)
    		o = msgp.AppendArrayHeader(o, uint32(24))
    		for zb0009 := range zb0008.Bins {
    			o, err = zb0008.Bins[zb0009].MarshalMsg(o)
    			if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. internal/logger/targets.go

    	cnt := make(map[string]int, len(sys)+len(audit))
    
    	// Add system and audit.
    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("sys_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	for _, t := range audit {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("audit_%s_%d", key, n)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. callbacks/query.go

    				clauseSelect.Columns = make([]clause.Column, len(db.Statement.Schema.DBNames))
    				for idx, dbName := range db.Statement.Schema.DBNames {
    					clauseSelect.Columns[idx] = clause.Column{Table: db.Statement.Table, Name: dbName}
    				}
    			}
    
    			specifiedRelationsName := map[string]string{clause.CurrentTable: clause.CurrentTable}
    			for _, join := range db.Statement.Joins {
    				if db.Statement.Schema != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (3)
  10. 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)
Back to Top