Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,963 for object1 (0.19 sec)

  1. cmd/object-api-deleteobject_test.go

    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    		// Test 3: remove an object inside a directory and checks if it is deleted
    		// but other sibling object in the same directory still exists
    		{
    			"bucket3",
    			[]objectUpload{{"dir/object1", "content"}, {"dir/object2", "content"}},
    			"dir/object1",
    			[]string{"dir/object2"},
    		},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ObjectUtil.java

         * </pre>
         *
         * @param object1
         *            オブジェクト(<code>null</code>可)
         * @param object2
         *            オブジェクト(<code>null</code>可)
         * @return 引数の2つのオブジェクトが等しい場合は<code>true</code>を返します。
         */
        public static boolean equals(final Object object1, final Object object2) {
            if (object1 == object2) {
                return true;
            }
            if (object1 == null || object2 == null) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    		t.Fatal(err)
    	}
    
    	bucket := "bucket"
    	object := "object"
    	opts := ObjectOptions{}
    	// Create object "obj" under bucket "bucket".
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Upload a good object
    	_, err = obj.DeleteObject(ctx, bucket, object, ObjectOptions{})
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. internal/lsync/lrwmutex_test.go

    	ctx := context.Background()
    	lrwm := NewLRWMutex()
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    		t.Errorf("Open err:%v", err)
    	}
    
    	type Object1 struct{}
    	type Object2 struct {
    		Field1 string
    	}
    	type Object3 struct {
    		Field2 string
    	}
    	db.Migrator().DropTable("objects")
    
    	err = db.Table("objects").AutoMigrate(&Object1{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	err = db.Table("objects").AutoMigrate(&Object2{})
    	if err != nil {
    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)
  6. guava/src/com/google/common/base/Objects.java

       *
       * <p><b>Java 7+ users:</b> This method should be treated as deprecated; use {@link
       * java.util.Objects#hash} instead.
       */
      public static int hashCode(@CheckForNull @Nullable Object... objects) {
        return Arrays.hashCode(objects);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Objects.java

       *
       * <p><b>Java 7+ users:</b> This method should be treated as deprecated; use {@link
       * java.util.Objects#hash} instead.
       */
      public static int hashCode(@CheckForNull @Nullable Object... objects) {
        return Arrays.hashCode(objects);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    }
    
    // DeleteObjectTags - delete object tags from an existing object
    func (er erasureObjects) DeleteObjectTags(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	return er.PutObjectTags(ctx, bucket, object, "", opts)
    }
    
    // GetObjectTags - get object tags from an existing object
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 76.3K bytes
    - Viewed (2)
  9. cmd/object-api-datatypes.go

    	Status      string
    }
    
    // DeletedObjectInfo - container for list objects versions deleted objects.
    type DeletedObjectInfo struct {
    	// Name of the bucket.
    	Bucket string
    
    	// Name of the object.
    	Name string
    
    	// Date and time when the object was last modified.
    	ModTime time.Time
    
    	// Version ID of this object.
    	VersionID string
    
    	// Indicates the deleted marker is latest
    	IsLatest bool
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    func checkObjectNameForLengthAndSlash(bucket, object string) error {
    	// Check for the length of object name
    	if len(object) > 1024 {
    		return ObjectNameTooLong{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    	// Check for slash as prefix in object name
    	if HasPrefix(object, SlashSeparator) {
    		return ObjectNamePrefixAsSlash{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top