Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,077 for Equal (0.03 sec)

  1. cmd/erasure_test.go

    			if _, err = writeDataBlocks(context.Background(), decodedData, decoded, test.dataBlocks, 0, int64(len(data))); err != nil {
    				t.Errorf("Test %d: failed to write data blocks: %v", i, err)
    			}
    			if !bytes.Equal(decodedData.Bytes(), data) {
    				t.Errorf("Test %d: Decoded data does not match original data: got: %v want: %v", i, decodedData.Bytes(), data)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        int itemHash = equivalence.hash(item);
        int relatedHash = equivalence.hash(related);
        assertWithTemplate(
            "the $HASH ("
                + itemHash
                + ") of $ITEM must be equal to the $HASH ("
                + relatedHash
                + ") of $OTHER",
            itemInfo,
            relatedInfo,
            itemHash == relatedHash);
      }
    
      private void assertUnrelated(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    					Object:   objectNames[0],
    					UploadID: uploadIDs[0],
    				},
    			},
    		},
    		// listMultipartResults - 6.
    		// `KeyMarker` is set. It contains part of the objectname as `KeyPrefix`.
    		// `MaxUploads` is set equal to the number of meta data entries in the result, the result contains only one entry.
    		// Expecting the result to contain one MultipartInfo entry and IsTruncated to be false.
    		{
    			MaxUploads:  1,
    			KeyMarker:   "min",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils.go

    	ResetStatusesMap           map[string]string                 // map of ARN-> stringified reset id and timestamp for all the targets
    }
    
    // Equal returns true if replication state is identical for version purge statuses and (replica)tion statuses.
    func (rs *ReplicationState) Equal(o ReplicationState) bool {
    	return rs.ReplicaStatus == o.ReplicaStatus &&
    		rs.ReplicationStatusInternal == o.ReplicationStatusInternal &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. internal/config/identity/plugin/config.go

    		// are not yet tracking.
    		h.updateLastFullMinute(reqTimeMinute)
    	}
    	var entry *serviceRTTMinuteStats
    	switch {
    	case reqTimeMinute.Equal(h.currentMinute.statsTime):
    		entry = &h.currentMinute
    	case reqTimeMinute.Equal(h.lastFullMinute.statsTime):
    		entry = &h.lastFullMinute
    	default:
    		// This request is too old, it should never happen, ignore it as we
    		// cannot return an error.
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStats.java

        }
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
       * other using {@code second = new PairedStatsAccumulator().addAll(first).snapshot()}, if both
       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

               * "add an extra item 0 to A and an extra item 1 to B" really means
               * "add an extra item 0 to A and B," which isn't what we want.
               */
              if (!Objects.equal(elements[0], elements[1])) {
                multiset2.add(elements[1], 2);
              }
            }
            return intersection(multiset1, multiset2);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

         */
    
        @Override
        public int hashCode () {
            return this.addr.hashCode();
        }
    
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        @Override
        public boolean equals ( Object obj ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  9. cmd/streaming-v4-unsigned.go

    			continue
    		}
    		// Must end with \r\n\r\n
    		var tmp [3]byte
    		_, err = io.ReadFull(cr.reader, tmp[:])
    		if err != nil {
    			if err == io.EOF {
    				return io.ErrUnexpectedEOF
    			}
    		}
    		if !bytes.Equal(tmp[:], []byte{'\n', '\r', '\n'}) {
    			if cr.debug {
    				fmt.Printf("got %q, want %q\n", string(tmp[:]), "\n\r\n")
    			}
    			return errMalformedEncoding
    		}
    		break
    	}
    
    	// Parse trailers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/cmd/api/api_test.go

    		name                          string
    		features, required, exception []string
    		ok                            bool   // want
    		out                           string // want
    	}{
    		{
    			name:     "equal",
    			features: []string{"A", "B", "C"},
    			required: []string{"A", "B", "C"},
    			ok:       true,
    			out:      "",
    		},
    		{
    			name:     "feature added",
    			features: []string{"A", "B", "C", "D", "E", "F"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top