Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,224 for equal (0.01 sec)

  1. guava/src/com/google/common/collect/Multiset.java

      /**
       * Compares the specified object with this multiset for equality. Returns {@code true} if the
       * given object is also a multiset and contains equal elements with equal counts, regardless of
       * order.
       */
      @Override
      // TODO(kevinb): caveats about equivalence-relation?
      boolean equals(@Nullable Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. schema/constraint_test.go

    		}
    
    		for _, name := range []string{"Name", "Constraint"} {
    			if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() {
    				t.Errorf(
    					"check %v %v should equal, expects %v, got %v",
    					k, name, reflect.ValueOf(result).FieldByName(name).Interface(), reflect.ValueOf(v).FieldByName(name).Interface(),
    				)
    			}
    		}
    	}
    }
    
    func TestParseUniqueConstraints(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            // Annotations with different protocol types should not be equal
            assertFalse("Annotations with different protocol types should not be equal", annotation1.equals(annotation2));
    
            // Test with same field
            final UriType annotation1Copy = field1.getAnnotation(UriType.class);
            assertEquals("Same annotation should be equal", annotation1, annotation1Copy);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

            checkRoundingUnnecessary(sqrtFloor.pow(2).equals(x)); // fall through
          case FLOOR:
          case DOWN:
            return sqrtFloor;
          case CEILING:
          case UP:
            int sqrtFloorInt = sqrtFloor.intValue();
            boolean sqrtFloorIsExact =
                (sqrtFloorInt * sqrtFloorInt == x.intValue()) // fast check mod 2^32
                    && sqrtFloor.pow(2).equals(x); // slow exact check
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. cmd/config-encrypted_test.go

    			if err != nil && test.success {
    				t.Errorf("Expected success, saw failure %v", err)
    			}
    			if err == nil && !test.success {
    				t.Error("Expected failure, saw success")
    			}
    			if test.success {
    				if !bytes.Equal(ddata, data) {
    					t.Errorf("Expected %s, got %s", string(data), string(ddata))
    				}
    			}
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. internal/stmt_store/stmt_store.go

    // New creates and returns a new Store instance.
    //
    // Parameters:
    //   - size: The maximum capacity of the cache. If the provided size is less than or equal to 0,
    //     it defaults to defaultMaxSize.
    //   - ttl: The time-to-live duration for each cache entry. If the provided ttl is less than or equal to 0,
    //     it defaults to defaultTTL.
    //
    // This function defines an onEvicted callback that is invoked when a cache entry is evicted.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    			_, ok2 := test.expectedErr.(InsufficientReadQuorum)
    			if ok1 != ok2 {
    				t.Errorf("Expected %s, got %s", test.expectedErr, err)
    			}
    			if test.succmodTimes != nil {
    				if !test.expectedSuccModTime.Equal(fi.SuccessorModTime) {
    					t.Errorf("Expected successor mod time to be %v but got %v", test.expectedSuccModTime, fi.SuccessorModTime)
    				}
    				if test.expectedIsLatest != fi.IsLatest {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

                String s = sid.toString();
                assertTrue(s.startsWith("S-1-0x010203040506"));
                assertTrue(s.endsWith("-7-8"));
            }
    
            @Test
            @DisplayName("equals and hashCode for equal and non-equal SIDs")
            void testEqualsAndHashCode() throws Exception {
                SID a1 = new SID("S-1-5-21-1-2-3-4");
                SID a2 = new SID("S-1-5-21-1-2-3-4");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-free-version.go

    func (j xlMetaV2Object) InitFreeVersion(fi FileInfo) (xlMetaV2Version, bool) {
    	if fi.SkipTierFreeVersion() {
    		return xlMetaV2Version{}, false
    	}
    	if status, ok := j.MetaSys[ReservedMetadataPrefixLower+TransitionStatus]; ok && bytes.Equal(status, []byte(lifecycle.TransitionComplete)) {
    		vID, err := uuid.Parse(fi.TierFreeVersionID())
    		if err != nil {
    			panic(fmt.Errorf("Invalid Tier Object delete marker versionId %s %v", fi.TierFreeVersionID(), err))
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. cmd/batch-replicate_test.go

    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(replicateYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	multiPrefixReplicateYaml := `
    replicate:
      apiVersion: v1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top