Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,162 for equal (0.01 seconds)

  1. tests/scanner_valuer_test.go

    	}
    
    	if result.ExampleStructPtr.Val != "value2" {
    		t.Errorf(`ExampleStructPtr.Val should equal to "value2", but got %v`, result.ExampleStructPtr.Val)
    	}
    
    	if result.ExampleStruct.Val != "value1" {
    		t.Errorf(`ExampleStruct.Val should equal to "value1", but got %#v`, result.ExampleStruct)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  2. internal/hash/checker.go

    		c.h.Write(p[:n])
    	}
    	if errors.Is(err, io.EOF) {
    		got := c.h.Sum(nil)
    		if !bytes.Equal(got, c.want) {
    			return n, ErrInvalidChecksum
    		}
    		return n, err
    	}
    	return n, err
    }
    
    // Close satisfies io.Closer
    func (c Checker) Close() error {
    	err := c.c.Close()
    	if err == nil {
    		got := c.h.Sum(nil)
    		if !bytes.Equal(got, c.want) {
    			return ErrInvalidChecksum
    		}
    	}
    	return err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ## Validações numéricas: maior que ou igual { #number-validations-greater-than-or-equal }
    
    Com `Query` e `Path` (e outras que você verá depois) você pode declarar restrições numéricas.
    
    Aqui, com `ge=1`, `item_id` precisará ser um número inteiro “`g`reater than or `e`qual” a `1`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Prerequisites().equals(null));
    
            new Prerequisites().equals(new Prerequisites());
        }
    
        @Test
        void testEqualsIdentity() {
            Prerequisites thing = new Prerequisites();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/SiteTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Site().equals(null));
    
            new Site().equals(new Site());
        }
    
        @Test
        void testEqualsIdentity() {
            Site thing = new Site();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Site().toString());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationProperty().equals(null));
    
            new ActivationProperty().equals(new ActivationProperty());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationProperty thing = new ActivationProperty();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Developer().equals(null));
    
            new Developer().equals(new Developer());
        }
    
        @Test
        void testEqualsIdentity() {
            Developer thing = new Developer();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

      }
    
      /**
       * Returns the {@code int} value that, when treated as unsigned, is equal to {@code value}, if
       * possible.
       *
       * @param value a value between 0 and 2<sup>32</sup>-1 inclusive
       * @return the {@code int} value that, when treated as unsigned, equals {@code value}
       * @throws IllegalArgumentException if {@code value} is negative or greater than or equal to
       *     2<sup>32</sup>
       * @since 21.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Feb 09 16:22:33 GMT 2025
    - 13.8K bytes
    - Click Count (0)
Back to Top