Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 646 for EQUAL (0.04 sec)

  1. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			newObj:       nodeWithTaints("nodeA", []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}),
    			expectedHint: framework.QueueSkip,
    		},
    		{
    			name:         "queue-on-toleratedtaint-node-added",
    			pod:          podWithTolerations("pod1", []v1.Toleration{{Key: "dedicated", Operator: "Equal", Value: "user2", Effect: "NoSchedule"}}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. pkg/config/mesh/mesh_test.go

    			"default": "foo",
    		}
    		mc, err := mesh.ApplyProxyConfig(`proxyMetadata: {"merged":"override","override":"bar"}`, config)
    		assert.NoError(t, err)
    		// Ensure we didn't modify the passed in mesh config
    		assert.Equal(t, mc.DefaultConfig.ProxyMetadata, map[string]string{
    			"merged":   "override",
    			"default":  "foo",
    			"override": "bar",
    		}, "unexpected proxy metadata")
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/index/suffixarray/suffixarray_test.go

    }
    
    func testConstruction(t *testing.T, tc *testCase, x *Index) {
    	if !sort.IsSorted((*index)(x)) {
    		t.Errorf("failed testConstruction %s", tc.name)
    	}
    }
    
    func equal(x, y *Index) bool {
    	if !bytes.Equal(x.data, y.data) {
    		return false
    	}
    	if x.sa.len() != y.sa.len() {
    		return false
    	}
    	n := x.sa.len()
    	for i := 0; i < n; i++ {
    		if x.sa.get(i) != y.sa.get(i) {
    			return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. pilot/pkg/xds/delta_test.go

    	assert.Equal(t, resp.RemovedResources, nil)
    
    	// On remove, just get the removal
    	s.MemRegistry.RemoveService("test-1.default")
    	resp = ads.ExpectResponse()
    	assertResources(resp, "inbound|80||") // currently we always send the inbound stuff. Not ideal, but acceptable
    	assert.Equal(t, resp.RemovedResources, []string{"outbound|80||test-1.default"})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. pkg/registry/storage/csidriver/strategy_test.go

    			require.Equal(t, test.wantGeneration, csiDriver.GetGeneration())
    			require.Equal(t, test.wantCapacity, csiDriver.Spec.StorageCapacity)
    			require.Equal(t, test.wantModes, csiDriver.Spec.VolumeLifecycleModes)
    			require.Equal(t, test.wantTokenRequests, csiDriver.Spec.TokenRequests)
    			require.Equal(t, test.wantRequiresRepublish, csiDriver.Spec.RequiresRepublish)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    				},
    			},
    			// should be exactly equal to maxDurationSizeJSON
    			ExpectedMaxElements: apiservercel.MaxDurationSizeJSON,
    		},
    		{
    			Name: "dateSize",
    			InputSchema: &schema.Structural{
    				Generic: schema.Generic{
    					Type: "string",
    				},
    				ValueValidation: &schema.ValueValidation{
    					Format: "date",
    				},
    			},
    			// should be exactly equal to dateSizeJSON
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/service.go

    	return out
    }
    
    // Equals checks whether the attributes are equal from the passed in service.
    func (s *ServiceAttributes) Equals(other *ServiceAttributes) bool {
    	if s == nil {
    		return other == nil
    	}
    	if other == nil {
    		return s == nil
    	}
    
    	if !maps.Equal(s.Labels, other.Labels) {
    		return false
    	}
    
    	if !maps.Equal(s.LabelSelectors, other.LabelSelectors) {
    		return false
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go

    							expected := []string{"application/json-patch+json", "application/merge-patch+json", "application/apply-patch+yaml"}
    							assert.Equal(t, expected, operation.Consumes)
    						} else {
    							assert.Equal(t, []string{"application/json", "application/yaml"}, operation.Consumes)
    						}
    					}
    				}
    				assert.Equal(t, expected.expectedActions, actions)
    			})
    		}
    	}
    }
    
    func properties(p map[string]spec.Schema) sets.String {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
       *       that when equal parameters are passed, the result instance should also be equal; and vice
       *       versa.
       *   <li>If a non-private constructor or non-private static factory method exists:
       *       <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top