Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for save3 (0.03 sec)

  1. cmd/batch-handlers.go

    				User:    req.User,
    				Elapsed: time.Since(req.Started),
    			})
    		}
    	}
    
    	batchLogIf(ctx, json.NewEncoder(w).Encode(&listResult))
    }
    
    // BatchJobStatus - returns the status of a batch job saved in the disk
    func (a adminAPIHandlers) BatchJobStatus(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ListBatchJobsAction)
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    			t.Errorf("Incorrect users length, expects: 2, got %v", len(results))
    		}
    
    		for idx := range results {
    			results[idx].Name = results[idx].Name + "_new"
    		}
    
    		if err := tx.Save(results).Error; err != nil {
    			t.Fatalf("failed to save users, got error %v", err)
    		}
    
    		return nil
    	}); result.Error != nil || result.RowsAffected != 6 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    			}
    		})
    	}
    }
    
    func TestParquetInput(t *testing.T) {
    	saved := parquetSupport
    	defer func() {
    		parquetSupport = saved
    	}()
    	parquetSupport = true
    
    	testTable := []struct {
    		requestXML     []byte
    		expectedResult []byte
    	}{
    		{
    			[]byte(`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	query.Set("AWSAccessKeyId", accessKeyID)
    	// Fill in Expires for presigned query.
    	query.Set("Expires", strconv.FormatInt(epochExpires, 10))
    
    	// Encode query and save.
    	req.URL.RawQuery = query.Encode()
    
    	// Save signature finally.
    	req.URL.RawQuery += "&Signature=" + url.QueryEscape(signature)
    	return nil
    }
    
    // Sign given request using Signature V2.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    		t.Errorf("AutoMigrate err:%v", err)
    	}
    	err = DB.Table("events").AutoMigrate(&Event2{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	DB.Table("events").Save(&Event2{})
    	DB.Table("events").Save(&Event2{})
    	DB.Table("events").Save(&Event2{})
    
    	events := make([]*Event, 0)
    	DB.Table("events").Find(&events)
    
    	AssertEqual(t, 3, len(events))
    	for _, v := range events {
    		AssertEqual(t, v.ID, v.UID)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		}
    		globalLocalDrivesMu.Unlock()
    	}
    
    	z.decommissionCancelers = make([]context.CancelFunc, len(z.serverPools))
    
    	// Initialize the pool meta, but set it to not save.
    	// When z.Init below has loaded the poolmeta will be initialized,
    	// and allowed to save.
    	z.poolMeta = newPoolMeta(z, poolMeta{})
    	z.poolMeta.dontSave = true
    
    	bootstrapTrace("newSharedLock", func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	}
    
    	var healOnce sync.Once
    
    	for ; partIndex <= lastPartIndex; partIndex++ {
    		if length == totalBytesRead {
    			break
    		}
    
    		partNumber := fi.Parts[partIndex].Number
    
    		// Save the current part name and size.
    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    		// partLength should be adjusted so that we don't write more data than what was requested.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function_test.cc

      TF_Operation* add2 = Add(add1, feed3, func_graph_, s_, "add2");
      Define(-1, {}, {feed1, feed2, feed3}, {add1, add2},
             {"internal_out", "final_out"});
    
      // Save func_ to FunctionDef and import it back
      Reincarnate();
    
      // Use, run, and verify
      TF_Operation* two = ScalarConst(2, host_graph_, s_, "two");
      TF_Operation* ten = ScalarConst(10, host_graph_, s_, "ten");
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

      /**
       * Returns a fresh {@link MapMakerInternalMap} with {@link MapMaker.Dummy} values but otherwise as
       * specified by the given {@code builder}. The returned {@link MapMakerInternalMap} will be
       * optimized to saved memory. Since {@link MapMaker.Dummy} is a singleton, we don't need to store
       * any values at all. Because of this optimization, {@code build.getValueStrength()} must be
       * {@link Strength#STRONG}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	}
    	delete(cache.iamUsersMap, accessKey)
    	if store.group != nil {
    		store.group.Forget(accessKey)
    	}
    
    	cache.updatedAt = time.Now()
    
    	return err
    }
    
    // SetTempUser - saves temporary (STS) credential to storage and cache. If a
    // policy name is given, it is associated with the parent user specified in the
    // credential.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top