Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,770 for equal (0.05 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/graph/ElementOrder.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ElementOrder)) {
          return false;
        }
    
        ElementOrder<?> other = (ElementOrder<?>) obj;
        return (type == other.type) && Objects.equal(comparator, other.comparator);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ElementOrder.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ElementOrder)) {
          return false;
        }
    
        ElementOrder<?> other = (ElementOrder<?>) obj;
        return (type == other.type) && Objects.equal(comparator, other.comparator);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K 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. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                // 3.2.5.1.9 Handling Compounded Responses
                // The final response in the compounded response chain will have NextCommand equal to 0,
                // and it MUST be processed as an individual message of a size equal to the number of bytes
                // remaining in this receive.
                int rem = this.readSize - this.length;
                len += rem;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format_test.go

    	}
    	if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size {
    		t.Errorf("Expected the stat size to be %v, but got %v.", unMarshalXLMeta.Stat.Size, jsoniterXLMeta.Stat.Size)
    	}
    	if !unMarshalXLMeta.Stat.ModTime.Equal(jsoniterXLMeta.Stat.ModTime) {
    		t.Errorf("Expected the modTime to be \"%v\", but got \"%v\".", unMarshalXLMeta.Stat.ModTime, jsoniterXLMeta.Stat.ModTime)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static <E> List<E> list(E... elements) {
        return ImmutableList.copyOf(elements);
      }
    
      /**
       * Utility method to verify that the given LinkedHashSet is equal to and hashes identically to a
       * set constructed with the elements in the given collection. Also verifies that the ordering in
       * the set is the same as the ordering of the given contents.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

     * lock.
     *
     * <p>The guarantee provided by this class is that equal keys lead to the same lock (or semaphore),
     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top