Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,836 for result (0.06 sec)

  1. tests/scopes_test.go

    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected)
    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    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. guava/src/com/google/common/util/concurrent/Striped.java

        // Initially using the list to store the keys, then reusing it to store the respective L's
        List<Object> result = newArrayList(keys);
        if (result.isEmpty()) {
          return ImmutableList.of();
        }
        int[] stripes = new int[result.size()];
        for (int i = 0; i < result.size(); i++) {
          stripes[i] = indexFor(result.get(i));
        }
        Arrays.sort(stripes);
        // optimize for runs of identical stripes
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. docs_src/body/tutorial004_py310.py

        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, q: str | None = None):
        result = {"item_id": item_id, **item.dict()}
        if q:
            result.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:28:58 UTC 2024
    - 408 bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * </ul>
       *
       * <p>Example usage:
       *
       * <pre>{@code
       * // Result.getRowsClosingFuture() returns a ClosingFuture.
       * ClosingFuture<List<Row>> rowsFuture =
       *     queryFuture.transformAsync((closer, result) -> result.getRowsClosingFuture(), executor);
       *
       * // Result.writeRowsToOutputStreamFuture() returns a ListenableFuture that resolves to the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/VerifyTest.java

      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
        assertSame(NON_NULL_STRING, result);
      }
    
      public void testVerifyNotNull_simple_failure() {
        assertThrows(VerifyException.class, () -> verifyNotNull(null));
      }
    
      public void testVerifyNotNull_complexMessage_success() {
        String result = verifyNotNull(NON_NULL_STRING, "%s", IGNORE_ME);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat( dst, dstIndex );
            questionName.hexCode = tmp;
            return result;
        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return 0;
        }
        int writeRDataWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. lib/wasm/wasm_exec_node.js

    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    	console.error(err);
    	process.exit(1);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Chars.java

          length += array.length;
        }
        char[] result = new char[checkNoOverflow(length)];
        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    				success := true
    				if err := r.KeyRotate(ctx, api, result); err != nil {
    					stopFn(result, err)
    					batchLogIf(ctx, err)
    					success = false
    					if attempts >= retryAttempts {
    						auditOptions := AuditLogOptions{
    							Event:     "KeyRotate",
    							APIName:   "StartBatchJob",
    							Bucket:    result.Bucket,
    							Object:    result.Name,
    							VersionID: result.VersionID,
    							Error:     err.Error(),
    						}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top