Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 985 for Updater (1.8 sec)

  1. clause/set_test.go

    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    			[]interface{}{1},
    		},
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    				clause.Set([]clause.Assignment{{clause.Column{Name: "name"}, "jinzhu"}}),
    			},
    			"UPDATE `users` SET `name`=?",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. tests/associations_belongs_to_test.go

    		t.Fatalf("failed to create items, got error: %v", err)
    	}
    
    	// test replace
    	if err := tx.Model(&item).Association("ItemParent").Unscoped().Replace(&ItemParent{
    		Logo: "updated logo",
    	}); err != nil {
    		t.Errorf("failed to replace item parent, got error: %v", err)
    	}
    
    	var parents []ItemParent
    	if err := tx.Find(&parents).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

      public static File createTempDir() {
        return TempFileCreator.INSTANCE.createTempDir();
      }
    
      /**
       * Creates an empty file or updates the last updated timestamp on the same as the unix command of
       * the same name.
       *
       * @param file the file to create or update
       * @throws IOException if an I/O error occurs
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    	}
    
    	dataBlocks := len(partsMetaData) - parityBlocks
    
    	writeQuorum := dataBlocks
    	if dataBlocks == parityBlocks {
    		writeQuorum++
    	}
    
    	// Since all the valid erasure code meta updated at the same time are equivalent, pass dataBlocks
    	// from latestFileInfo to get the quorum
    	return dataBlocks, writeQuorum, nil
    }
    
    const (
    	tierFVID     = "tier-free-versionID"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMaker.java

        return (initialCapacity == UNSET_INT) ? DEFAULT_INITIAL_CAPACITY : initialCapacity;
      }
    
      /**
       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.update(user1);
            chain.update(user2);
            chain.update(user3);
    
            assertEquals(3, chain.updateCalls.size());
            assertEquals(user1, chain.updateCalls.get(0));
            assertEquals(user2, chain.updateCalls.get(1));
            assertEquals(user3, chain.updateCalls.get(2));
        }
    
        // Test update with exception handling
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. cmd/config-current.go

    		} else {
    			globalHealConfig.Update(healCfg)
    		}
    	case config.BatchSubSys:
    		batchCfg, err := batch.LookupConfig(s[config.BatchSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply batch config: %w", err))
    		} else {
    			globalBatchConfig.Update(batchCfg)
    		}
    	case config.ScannerSubSys:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java

        if (listeners == expect) {
          listeners = update;
          return true;
        }
        return false;
      }
    
      final @Nullable Listener gasListeners(Listener update) {
        Listener old = listeners;
        listeners = update;
        return old;
      }
    
      static boolean casValue(AbstractFutureState<?> future, @Nullable Object expect, Object update) {
        if (future.value == expect) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Feb 21 02:38:37 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. tests/generics_test.go

    	if err != nil {
    		t.Fatalf("failed to find user, got error: %v", err)
    	} else if u.Name != name || u.ID == 0 {
    		t.Errorf("found invalid user, got %v", u)
    	}
    
    	name += "Update"
    	rows, err := gorm.G[User](DB).Where("id = ?", u.ID).Update(ctx, "name", name)
    	if rows != 1 {
    		t.Fatalf("failed to get affected rows, got %d, should be %d", rows, 1)
    	}
    
    	nu, err := gorm.G[User](DB).Where("name = ?", name).First(ctx)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

                totalBytesWritten += byteCount
                progressListener.update(totalBytesWritten, contentLength(), completed)
              }
    
              override fun close() {
                super.close()
                if (!completed) {
                  completed = true
                  progressListener.update(totalBytesWritten, contentLength(), completed)
                }
              }
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top