Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Create (0.21 sec)

  1. cmd/xl-storage_test.go

    func TestXLStorageReadAll(t *testing.T) {
    	// create xlStorage test setup
    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	// Create files for the test cases.
    	if err = xlStorage.MakeVol(context.Background(), "exists"); err != nil {
    		t.Fatalf("Unable to create a volume \"exists\", %s", err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. tests/query_test.go

    		},
    		Item2: &QueryResetItem{
    			ID:   "u_2_2",
    			Name: "item_2_2",
    		},
    	}
    
    	var err error
    	err = DB.Create(&q1).Error
    	if err != nil {
    		t.Errorf("failed to create:%v", err)
    	}
    
    	err = DB.Create(&q2).Error
    	if err != nil {
    		t.Errorf("failed to create:%v", err)
    	}
    
    	var qs []QueryResetNullValue
    	err = DB.Joins("Item1").Joins("Item2").Find(&qs).Error
    	if err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	err = obj.MakeBucket(context.Background(), "abc", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	resN, err := obj.NewMultipartUpload(context.Background(), "abc", "def", opts)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	defer cancel()
    
    	// Create project buckets
    	buckets := []string{"projecta", "projectb", "projectaorb", "other"}
    	for _, bucket := range buckets {
    		err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    		if err != nil {
    			c.Fatalf("bucket create error: %v", err)
    		}
    	}
    
    	// Create policies
    	for polName, polContent := range policyProjectsMap {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("in", in);
            assertArgumentNotNull("out", out);
    
            final FileInputStream is = InputStreamUtil.create(in);
            try {
                final FileOutputStream os = OutputStreamUtil.create(out);
                try {
                    return copyInternal(is, os);
                } finally {
                    CloseableUtil.close(os);
                }
            } finally {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public static final fun create (Lokhttp3/MediaType;[B)Lokhttp3/RequestBody;
    	public static final fun create (Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody;
    	public static final fun create (Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
    	public static final fun create (Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test.cc

    //    only worker 1.
    // 2. Create a context B using A.
    // 3. Create the variable in B.
    // 4. Create another single host server def C with only worker 0.
    // 5. Start the GRPC server for worker 0 using C.
    // 6. Create a context D using the full cluster server def E.
    // 7. Read the variable in D.
    TEST(CAPI, SingleHostServerDefV1Works) {
      // Create a server def that represents a 2-process cluster and a client.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       * <p>The overall principle is to continue to treat every checked exception as a checked
       * exception, every unchecked exception as an unchecked exception, and every error as an error. In
       * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that the
       * new stack trace matches that of the current thread.
       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
       * ordering. The sorted maps use {@link Ordering#natural()} as the comparator.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    func TestMigrateIndexesWithDynamicTableName(t *testing.T) {
    	// Create primary table
    	if err := DB.AutoMigrate(&DynamicUser{}); err != nil {
    		t.Fatalf("AutoMigrate create table error: %#v", err)
    	}
    
    	// Create sub tables
    	for _, v := range []string{"01", "02", "03"} {
    		tableName := "dynamic_users_" + v
    		m := DB.Scopes(func(db *gorm.DB) *gorm.DB {
    			return db.Table(tableName)
    		}).Migrator()
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top