Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,770 for equal (0.06 sec)

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

        successor(a, b);
        successor(b, c);
      }
    
      /*
       * TODO(jlevy): Decide whether entrySet() should return entries with an equals() method that
       * calls the comparator to compare the two keys. If that change is made,
       * AbstractMultiset.equals() can simply check whether two multisets have equal entry sets.
       */
    
      /**
       * @serialData the comparator, the number of distinct elements, the first element, its count, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. tests/update_test.go

    	user.Age = 1
    	if err := DB.Save(user).Error; err != nil {
    		t.Errorf("errors happened when update: %v", err)
    	} else if user.Age != 1 {
    		t.Errorf("Age should equals to 1, but got %v", user.Age)
    	} else if user.Active != false {
    		t.Errorf("Active should equals to false, but got %v", user.Active)
    	}
    	checkUpdatedAtChanged("Save", user.UpdatedAt)
    	checkOtherData("Save")
    
    	var result4 User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    		var byteBuffer bytes.Buffer
    		err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if !bytes.Equal(byteBuffer.Bytes(), value) {
    			t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType)
    		}
    
    		objInfo, err := obj.GetObjectInfo(context.Background(), "bucket", key, opts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string key = 1;
    
      // Operator represents a key's relationship to the value.
      // Valid operators are Exists and Equal. Defaults to Equal.
      // Exists is equivalent to wildcard for value, so that a pod can
      // tolerate all taints of a particular category.
      // +optional
      optional string operator = 2;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Splitter.java

       * yield an empty iterable, but an iterable containing {@code ""}. This is the only case in which
       * {@code Iterables.size(split(input))} does not equal {@code IntMath.divide(input.length(),
       * length, CEILING)}. To avoid this behavior, use {@code omitEmptyStrings}.
       *
       * @param length the desired length of pieces after splitting, a positive integer
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    //  status - Set to OK on success and an appropriate error on failure.
    //
    // Note that when the same TF_Output is listed as both an input and an output,
    // the corresponding function's output will equal to this input,
    // instead of the original node's output.
    //
    // Callers must also satisfy the following constraints:
    // - `inputs` cannot refer to TF_Outputs within a control flow context. For
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

       *
       * @throws IOException if an I/O error occurs
       */
      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/BaseEncoding.java

            }
          }
          return builder.toString();
        }
    
        @Override
        public boolean equals(@CheckForNull Object other) {
          if (other instanceof StandardBaseEncoding) {
            StandardBaseEncoding that = (StandardBaseEncoding) other;
            return this.alphabet.equals(that.alphabet)
                && Objects.equals(this.paddingChar, that.paddingChar);
          }
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InternetDomainName.java

       * version of the same domain name would not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    
        if (object instanceof InternetDomainName) {
          InternetDomainName that = (InternetDomainName) object;
          return this.name.equals(that.name);
        }
    
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

       * Lists#newArrayList}.
       */
      public void testArraysAsList() {
        List<String> ourWay = Lists.newArrayList("foo", "bar", "baz");
        List<String> otherWay = asList("foo", "bar", "baz");
    
        // They're logically equal
        assertEquals(ourWay, otherWay);
    
        // The result of Arrays.asList() is mutable
        otherWay.set(0, "FOO");
        assertEquals("FOO", otherWay.get(0));
    
        // But it can't grow
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top