Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 261 for spice (0.02 sec)

  1. tests/preload_test.go

    	for _, user := range users {
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var users2 []User
    	DB.Preload("Account", clause.Eq{Column: "number", Value: users[0].Account.Number}).Find(&users2, "id IN ?", userIDs)
    	sort.Slice(users2, func(i, j int) bool {
    		return users2[i].ID < users2[j].ID
    	})
    
    	for idx, user := range users2[1:2] {
    		if user.Account.Number != "" {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

      }
    
      /**
       * Returns a view of a slice of this byte source that is at most {@code length} bytes long
       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. utils/utils.go

    func JoinNestedRelationNames(relationNames []string) string {
    	return strings.Join(relationNames, nestedRelationSplit)
    }
    
    // RTrimSlice Right trims the given slice by given length
    func RTrimSlice[T any](v []T, trimLen int) []T {
    	if trimLen >= len(v) { // trimLen greater than slice len means fully sliced
    		return v[:0]
    	}
    	if trimLen < 0 { // negative trimLen is ignored
    		return v[:]
    	}
    	return v[:len(v)-trimLen]
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/bootstrap.min.js

    tion(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(U)),i=0,o=n.length;i<o;i++){var a=n[i],s=d.getSelectorFromElement(a),l=[].slice.call(document.querySelectorAll(s)).filter((function(e){return e===t}));null!==s&&l.length>0&&(this._selector=s,this._t...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  5. schema/utils.go

    				result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
    				switch result.Kind() {
    				case reflect.Struct:
    					reflectResults = reflect.Append(reflectResults, result.Addr())
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < result.Len(); i++ {
    						if elem := result.Index(i); elem.Kind() == reflect.Ptr {
    							reflectResults = reflect.Append(reflectResults, elem)
    						} else {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. callbacks/callmethod.go

    	tx := db.Session(&gorm.Session{NewDB: true})
    	if called := fc(db.Statement.ReflectValue.Interface(), tx); !called {
    		switch db.Statement.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			db.Statement.CurDestIndex = 0
    			for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    				if value := reflect.Indirect(db.Statement.ReflectValue.Index(i)); value.CanAddr() {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 846 bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                    "1000, 500, 600, 8, 4096", // 4K sectors
                    "1000, 500, 600, 16, 4096", // Large sectors and allocation
                    "1000, 0, 0, 8, 512", // No free space
                    "1000, 1000, 1000, 8, 512" // All space free
            })
            void shouldDecodeVariousSectorConfigurations(long alloc, long callerFree, long actualFree, int sectPerAlloc, int bytesPerSect)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. callbacks/preload.go

    				return err
    			}
    		} else if rel := relationships.Relations[name]; rel != nil {
    			if joined, nestedJoins := isJoined(name); joined {
    				switch rv := db.Statement.ReflectValue; rv.Kind() {
    				case reflect.Slice, reflect.Array:
    					if rv.Len() > 0 {
    						reflectValue := rel.FieldSchema.MakeSlice().Elem()
    						for i := 0; i < rv.Len(); i++ {
    							frv := rel.Field.ReflectValueOf(db.Statement.Context, rv.Index(i))
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

            assertTrue(CharUtil.isUrlChar(';'));
        }
    
        public void test_isUrlChar_notAllowed() {
            // Test characters that are not allowed
            assertFalse(CharUtil.isUrlChar(' ')); // space
            assertFalse(CharUtil.isUrlChar('\t')); // tab
            assertFalse(CharUtil.isUrlChar('\n')); // newline
            assertFalse(CharUtil.isUrlChar('\r')); // carriage return
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. callbacks/helper.go

    			if len(values.Values) == 0 {
    				values.Values = [][]interface{}{{}}
    			}
    
    			values.Values[0] = append(values.Values[0], value)
    		}
    	}
    	return
    }
    
    // ConvertSliceOfMapToValuesForCreate convert slice of map to values
    func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values) {
    	columns := make([]string, 0, len(mapValues))
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top