Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for Take (0.14 sec)

  1. tests/migrate_test.go

    	}
    
    	err = db.Table("objects").Take(&Object2{}).Error
    	if err != nil {
    		t.Errorf("take err:%v", err)
    	}
    
    	// AlterColumn
    	err = db.Table("objects").AutoMigrate(&Object3{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	err = db.Table("objects").Take(&Object3{}).Error
    	if err != nil {
    		t.Errorf("take err:%v", err)
    	}
    
    	// AddColumn
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
          }
    
        // Make the first request waiting until we get our auth challenge.
        val request = Request(server.url("/"))
        blockingAuthClient.newCall(request).enqueue(callback)
        val response1 = responses.take()
        assertThat(response1).isEqualTo("")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    //   TF_Output values_inputs[5] = {{...}, ..., {...}};
    //   TF_AddInputList(desc, values_inputs, 5);
    
    // For inputs that take a single tensor.
    TF_CAPI_EXPORT extern void TF_AddInput(TF_OperationDescription* desc,
                                           TF_Output input);
    
    // For inputs that take a list of tensors.
    // inputs must point to TF_Output[num_inputs].
    TF_CAPI_EXPORT extern void TF_AddInputList(TF_OperationDescription* desc,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. cmd/iam-store.go

    }
    
    // mappedPoliciesToMap copies the map of mapped policies to a regular map.
    func mappedPoliciesToMap(m *xsync.MapOf[string, MappedPolicy]) map[string]MappedPolicy {
    	policies := make(map[string]MappedPolicy, m.Size())
    	m.Range(func(k string, v MappedPolicy) bool {
    		policies[k] = v
    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/peer-rest-server.go

    	localDrives := cloneDrives(globalLocalDrives)
    	globalLocalDrivesMu.RUnlock()
    
    	errs := make([]error, len(localDrives))
    	infos := make([]DiskInfo, len(localDrives))
    	for i, drive := range localDrives {
    		infos[i], errs[i] = drive.DiskInfo(GlobalContext, DiskInfoOptions{})
    	}
    	infoMaps := make(map[string]madmin.DiskMetrics)
    	for i := range infos {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    		ctx:          ctx,
    		objLayer:     o,
    		jobCh:        make(chan *BatchJobRequest, 10000),
    		workerKillCh: make(chan struct{}, workers),
    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    	jpool.resume()
    	return jpool
    }
    
    func (j *BatchJobPool) resume() {
    	results := make(chan ObjectInfo, 100)
    	ctx, cancel := context.WithCancel(j.ctx)
    	defer cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

     * There is still the issue of having to run the lifecycle in order to find all the compile source roots and resource
     * directories but I hope to take care of this during the Maven 4.0 release (jvz).
     * </p>
     */
    public class MavenProject implements Cloneable {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(MavenProject.class);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

    typedef struct TF_Filesystem_Option_Value {
      int type_tag;    // type of values in the values union
      int num_values;  // number of values
      TF_Filesystem_Option_Value_Union*
          values;  // owned (plugins must make a copy if storing this)
    } TF_Filesystem_Option_Value;
    
    typedef enum TF_Filesystem_Option_Type {
      TF_Filesystem_Option_Type_Int = 0,
      TF_Filesystem_Option_Type_Real,
      TF_Filesystem_Option_Type_Buffer,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkArgument(
          boolean expression,
          // TODO: cl/604933487 - Make errorMessageTemplate consistently @CheckForNull across overloads.
          @CheckForNull String errorMessageTemplate,
          @CheckForNull Object p1,
          @CheckForNull Object p2) {
        if (!expression) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    	xMinIOErrDescHeader = "x-minio-error-desc"
    )
    
    // Check if there are buckets on server without corresponding entry in etcd backend and
    // make entries. Here is the general flow
    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top