Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 390 for obj (0.13 sec)

  1. cmd/server-main_test.go

    		t.Fatal("Failed to create drives for the backend")
    	}
    	defer removeRoots(disks)
    
    	obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    		t.Fatal("Unexpected object layer initialization error", err)
    	}
    
    	_, ok := obj.(*erasureServerPools)
    	if !ok {
    		t.Fatal("Unexpected object layer detected", reflect.TypeOf(obj))
    	}
    
    	// Tests for Erasure object layer initialization.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

        }
    
    
        @Override
        public long length () {
            return 0L;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof SmbShareInfo ) {
                SmbShareInfo si = (SmbShareInfo) obj;
                return Objects.equals(this.netName, si.netName);
            }
            return false;
        }
    
    
        @Override
        public int hashCode () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Feb 17 09:30:57 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/rule_test.go

                                  <Status>OK</Status>
    	                    </Rule>`,
    			expectedErr: errInvalidRuleStatus,
    		},
    		{ // Rule with negative values for ObjectSizeLessThan
    			inputXML: `<Rule>
    				<ID>negative-obj-size-less-than</ID>
    				<Filter><ObjectSizeLessThan>-1</ObjectSizeLessThan></Filter>
    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

            @Override
            public int hashCode() {
                return id().hashCode();
            }
    
            @Override
            public boolean equals(Object obj) {
                return obj != null && getClass() == obj.getClass() && id().equals(((DefaultExtensibleEnum) obj).id());
            }
    
            @Override
            public String toString() {
                return getClass().getSimpleName() + "[" + id() + "]";
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
                if (!(obj instanceof GAKey)) {
                    return false;
                }
                GAKey that = (GAKey) obj;
                return artifactId.equals(that.artifactId) && groupId.equals(that.groupId);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/delmarker-expiration.go

    }
    
    // NextDue returns upcoming DelMarkerExpiration date for obj if
    // applicable, returns false otherwise.
    func (de DelMarkerExpiration) NextDue(obj ObjectOpts) (time.Time, bool) {
    	if !obj.IsLatest || !obj.DeleteMarker {
    		return time.Time{}, false
    	}
    
    	return ExpectedExpiryTime(obj.ModTime, de.Days), true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    			transRuleID: 2,
    		},
    	}
    	for i, tc := range tests {
    		w := httptest.NewRecorder()
    		lc.SetPredictionHeaders(w, tc.obj)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Parameter.java

        A[] cast = (A[]) result;
        return cast;
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. cmd/signature-v2_test.go

    func TestDoesPresignedV2SignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	now := UTCNow()
    
    	var (
    		accessKey = globalActiveCred.AccessKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

        int index = 0;
        for (Object obj : toTest) {
          String name = "toTest[" + index + "] (" + obj + ")";
          assertWithMessage(name).that(Lists.indexOfImpl(toTest, obj)).isEqualTo(expected[index]);
          index++;
        }
      }
    
      private void checkLastIndexOf(List<?> toTest, int[] expected) {
        int index = 0;
        for (Object obj : toTest) {
          String name = "toTest[" + index + "] (" + obj + ")";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top