Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,114 for EQUAL (0.07 sec)

  1. src/net/ip.go

    	}
    	*ip = x
    	return nil
    }
    
    // Equal reports whether ip and x are the same IP address.
    // An IPv4 address and that same address in IPv6 form are
    // considered to be equal.
    func (ip IP) Equal(x IP) bool {
    	if len(ip) == len(x) {
    		return bytealg.Equal(ip, x)
    	}
    	if len(ip) == IPv4len && len(x) == IPv6len {
    		return bytealg.Equal(x[0:12], v4InV6Prefix) && bytealg.Equal(ip, x[12:])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. pkg/slices/slices_test.go

    	for i := 0; i < size; i++ {
    		l = append(l, strconv.Itoa(i))
    	}
    	var equal []string
    	for i := 0; i < size; i++ {
    		equal = append(equal, strconv.Itoa(i))
    	}
    	var notEqual []string
    	for i := 0; i < size; i++ {
    		notEqual = append(notEqual, strconv.Itoa(i))
    	}
    	notEqual[size-1] = "z"
    
    	for n := 0; n < b.N; n++ {
    		EqualUnordered(l, equal)
    		EqualUnordered(l, notEqual)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

    					t.Errorf("expected cell[2] to equal %q, got %q", expected, got)
    				}
    				if got, expected := tbl.Rows[0].Cells[3], int64(10); got != expected {
    					t.Errorf("expected cell[3] to equal %#v, got %#v", expected, got)
    				}
    				if got, expected := tbl.Rows[0].Cells[4], interface{}(nil); got != expected {
    					t.Errorf("expected cell[4] to equal %#v although the type does not match the column, got %#v", expected, got)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 18.9K bytes
    - Viewed (0)
  4. pkg/kubelet/types/pod_update_test.go

    		t.Run(test.name, func(t *testing.T) {
    			source, err := GetPodSource(test.pod)
    			if test.errExpected {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			assert.Equal(t, test.expected, source)
    		})
    	}
    }
    
    func TestString(t *testing.T) {
    	tests := []struct {
    		sp       SyncPodType
    		expected string
    	}{
    		{
    			sp:       SyncPodCreate,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 21 08:20:50 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParser.java

                return Objects.equal(group, that.group)
                    && Objects.equal(module, that.module)
                    && Objects.equal(versionConstraint, that.versionConstraint)
                    && Objects.equal(excludes, that.excludes)
                    && Objects.equal(reason, that.reason)
                    && Objects.equal(attributes, that.attributes)
                    && Objects.equal(requestedCapabilities, that.requestedCapabilities)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionRangeSelector.java

     * <ul>
     * <li>[1.0,2.0] matches all versions greater or equal to 1.0 and lower or equal to 2.0 </li>
     * <li>[1.0,2.0[ matches all versions greater or equal to 1.0 and lower than 2.0 </li>
     * <li>]1.0,2.0] matches all versions greater than 1.0 and lower or equal to 2.0 </li>
     * <li>]1.0,2.0[ matches all versions greater than 1.0 and lower than 2.0 </li>
     * <li>[1.0,) matches all versions greater or equal to 1.0 </li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/v2/defaults_test.go

    				})
    			}
    			up := GenerateHPAScaleUpRules(scaleUpRules)
    			assert.Equal(t, tc.expectedPolicies, up.Policies)
    			if tc.expectedStabilization != nil {
    				assert.Equal(t, *tc.expectedStabilization, *up.StabilizationWindowSeconds)
    			} else {
    				assert.Equal(t, tc.expectedStabilization, up.StabilizationWindowSeconds)
    			}
    
    			assert.Equal(t, autoscalingv2.ScalingPolicySelect(tc.expectedSelectPolicy), *up.SelectPolicy)
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. src/crypto/internal/mlkem768/mlkem768_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(Ke, Kd) {
    		t.Fail()
    	}
    
    	dk1, err := GenerateKey()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if bytes.Equal(dk.EncapsulationKey(), dk1.EncapsulationKey()) {
    		t.Fail()
    	}
    	if bytes.Equal(dk.Bytes(), dk1.Bytes()) {
    		t.Fail()
    	}
    	if bytes.Equal(dk.Bytes()[EncapsulationKeySize-32:], dk1.Bytes()[EncapsulationKeySize-32:]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graph.java

       * same structural relationships as those in this graph.
       *
       * <p>Thus, two graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Graph.java

       * same structural relationships as those in this graph.
       *
       * <p>Thus, two graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       * </ul>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top