Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,770 for equal (0.02 sec)

  1. src/bytes/boundary_test.go

    	return b[pagesize : 2*pagesize]
    }
    
    func TestEqualNearPageBoundary(t *testing.T) {
    	t.Parallel()
    	b := dangerousSlice(t)
    	for i := range b {
    		b[i] = 'A'
    	}
    	for i := 0; i <= len(b); i++ {
    		Equal(b[:i], b[len(b)-i:])
    		Equal(b[len(b)-i:], b[:i])
    	}
    }
    
    func TestIndexByteNearPageBoundary(t *testing.T) {
    	t.Parallel()
    	b := dangerousSlice(t)
    	for i := range b {
    		idx := IndexByte(b[i:], 1)
    		if idx != -1 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. internal/config/lambda/event/targetidset_test.go

    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    		if reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestTargetIDSetUnion(t *testing.T) {
    	testCases := []struct {
    		set            TargetIDSet
    		setToAdd       TargetIDSet
    		expectedResult TargetIDSet
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            ArtifactVersion v2 = newArtifactVersion("1.0");
            assertTrue(v1.equals(v2));
            assertEquals(v1.hashCode(), v2.hashCode());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(newArtifactVersion("1").equals(null));
        }
    
        @Test
        void testEqualsTypeSafe() {
            assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance"));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. internal/event/rulesmap_test.go

    		}
    
    		result.Add(testCase.rulesMapToAdd)
    		if reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesMapAdd(t *testing.T) {
    	rulesMapCase1 := make(RulesMap)
    	rulesMapToAddCase1 := make(RulesMap)
    	expectedResultCase1 := make(RulesMap)
    
    	rulesMapCase2 := make(RulesMap)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jan 05 18:43:06 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers_test.go

    	// Should only return pods with the annotation indicating they are actually redirected at this time,
    	// not pods that are just scheduled to be enrolled.
    	assert.Equal(t, len(pods), 1)
    	assert.Equal(t, pods[0], redirectedNotEnrolled)
    }
    
    func TestGetActiveAmbientPodSnapshotSkipsTerminatedJobPods(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common.go

    	timeOccurrenceMap := make(map[int64]int, len(times))
    	groupNano := group.Nanoseconds()
    	// Ignore the uuid sentinel and count the rest.
    	for _, t := range times {
    		if t.Equal(timeSentinel) || t.IsZero() {
    			continue
    		}
    		nano := t.UnixNano()
    		if group > 0 {
    			for k := range timeOccurrenceMap {
    				if k == nano {
    					// We add to ourself later
    					continue
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /**
       * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
       * the same order. Note that two headers instances may be *semantically* equal but not equal
       * according to this method. In particular, none of the following sets of headers are equal
       * according to this method:
       *
       * 1. Original
       * ```
       * Content-Type: text/html
       * Content-Length: 50
       * ```
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. internal/event/targetidset_test.go

    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    		if reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestTargetIDSetUnion(t *testing.T) {
    	testCases := []struct {
    		set            TargetIDSet
    		setToAdd       TargetIDSet
    		expectedResult TargetIDSet
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/ToDoubleRounder.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class ToDoubleRounder<X extends Number & Comparable<X>> {
      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/resources/fess_message.properties

    constraints.AssertFalse.message = {item} must be false.
    constraints.AssertTrue.message  = {item} must be true.
    constraints.DecimalMax.message  = {item} must be less than ${inclusive == true ? 'or equal to ' : ''}{value}.
    constraints.DecimalMin.message  = {item} must be greater than ${inclusive == true ? 'or equal to ' : ''}{value}.
    constraints.Digits.message      = {item} is numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected).
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top