Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 65 for Elem (0.02 seconds)

  1. tests/update_test.go

    	DB.AutoMigrate(&ElementWithIgnoredField{})
    
    	elem := ElementWithIgnoredField{Value: "foo", IgnoredField: 10}
    	DB.Save(&elem)
    
    	DB.Model(&ElementWithIgnoredField{}).
    		Where("id = ?", elem.Id).
    		Updates(&ElementWithIgnoredField{Value: "bar", IgnoredField: 100})
    
    	var result ElementWithIgnoredField
    	if err := DB.First(&result, elem.Id).Error; err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. cmd/bucket-stats.go

    }
    
    // Merge all recorded counts of last hour into one
    func (l *ReplicationLastHour) getTotal() AccElem {
    	var res AccElem
    	minutes := time.Now().Unix() / 60
    	l.forwardTo(minutes)
    	for _, elem := range l.Totals[:] {
    		res.merge(elem)
    	}
    	return res
    }
    
    // forwardTo time t, clearing any entries in between.
    func (l *ReplicationLastHour) forwardTo(t int64) {
    	if l.LastMin >= t {
    		return
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. api/go1.5.txt

    pkg go/types, func WriteExpr(*bytes.Buffer, ast.Expr)
    pkg go/types, func WriteSignature(*bytes.Buffer, *Signature, Qualifier)
    pkg go/types, func WriteType(*bytes.Buffer, Type, Qualifier)
    pkg go/types, method (*Array) Elem() Type
    pkg go/types, method (*Array) Len() int64
    pkg go/types, method (*Array) String() string
    pkg go/types, method (*Array) Underlying() Type
    pkg go/types, method (*Basic) Info() BasicInfo
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  4. tests/callbacks_test.go

    	"fmt"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    func assertCallbacks(v interface{}, fnames []string) (result bool, msg string) {
    	var (
    		got   []string
    		funcs = reflect.ValueOf(v).Elem().FieldByName("fns")
    	)
    
    	for i := 0; i < funcs.Len(); i++ {
    		got = append(got, getFuncName(funcs.Index(i)))
    	}
    
    	return fmt.Sprint(got) == fmt.Sprint(fnames), fmt.Sprintf("expects %v, got %v", fnames, got)
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  5. callbacks/query.go

    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    				case reflect.Slice:
    					queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType
    				}
    			}
    
    			if queryFields {
    				stmt := gorm.Statement{DB: db}
    				// smaller struct
    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)
  6. guava/src/com/google/common/collect/Multiset.java

        checkNotNull(action);
        entrySet()
            .forEach(
                entry -> {
                  E elem = entry.getElement();
                  int count = entry.getCount();
                  for (int i = 0; i < count; i++) {
                    action.accept(elem);
                  }
                });
      }
    
      @Override
      default Spliterator<E> spliterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. gorm.go

    	connPool := db.ConnPool
    	if db.Statement != nil && db.Statement.ConnPool != nil {
    		connPool = db.Statement.ConnPool
    	}
    	if tx, ok := connPool.(*sql.Tx); ok && tx != nil {
    		return (*sql.DB)(reflect.ValueOf(tx).Elem().FieldByName("db").UnsafePointer()), nil
    	}
    
    	if dbConnector, ok := connPool.(GetDBConnector); ok && dbConnector != nil {
    		if sqldb, err := dbConnector.GetDBConn(); sqldb != nil || err != nil {
    			return sqldb, err
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

            if (distinct == 0) {
              addDedupedElement(e);
              return this;
            } else {
              ensureTableCapacity(dedupedElements.length);
              E elem = dedupedElements[0];
              distinct--;
              return insertInHashTable(elem).add(e);
            }
          }
          return insertInHashTable(e);
        }
    
        private SetBuilderImpl<E> insertInHashTable(E e) {
          requireNonNull(hashTable);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

            add(elements.next());
          }
          return this;
        }
    
        private void dedupAndCoalesceAndDeleteEmpty() {
          dedupAndCoalesce(false);
    
          // If there was a setCount(elem, 0), those elements are still present.  Eliminate them.
          int size = 0;
          for (int i = 0; i < length; i++) {
            if (counts[i] > 0) {
              elements[size] = elements[i];
              counts[size] = counts[i];
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  10. doc/go_spec.html

    an entry for each type parameter.
    </p>
    
    <p>
    For example, given the type equation with the bound type parameter
    <code>P</code>
    </p>
    
    <pre>
    	[10]struct{ elem P, list []P } ≡<sub>A</sub> [10]struct{ elem string; list []string }
    </pre>
    
    <p>
    type inference starts with an empty map.
    Unification first compares the top-level structure of the LHS and RHS
    types.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top