Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for _Equal (0.21 sec)

  1. pilot/pkg/model/telemetry_test.go

    					},
    				},
    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := tt.computedTelemetries.Equal(tt.args.other); got != tt.want {
    				t.Errorf("computedTelemetries.Equal() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/accesslog_test.go

    			expected: &tcp.TcpProxy{},
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			b.setTCPAccessLog(tc.push, tc.proxy, tc.tcp, tc.class, nil)
    			assert.Equal(t, tc.expected, tc.tcp)
    		})
    	}
    }
    
    func TestSetHttpAccessLog(t *testing.T) {
    	b := newAccessLogBuilder()
    
    	env := newTestEnviroment()
    
    	cases := []struct {
    		name     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				krttest.GetMockCollection[*v1.Node](mock),
    			)
    			wrapper := builder(krt.TestingDummyContext{}, tt.pod)
    			var res *workloadapi.Workload
    			if wrapper != nil {
    				res = wrapper.Workload
    			}
    			assert.Equal(t, res, tt.result)
    		})
    	}
    }
    
    func TestWorkloadEntryWorkloads(t *testing.T) {
    	cases := []struct {
    		name   string
    		inputs []any
    		we     *networkingclient.WorkloadEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go

    			actualHint, err := p.(*SchedulingGates).isSchedulableAfterPodChange(logger, tc.pod, tc.oldObj, tc.newObj)
    			if tc.expectedErr {
    				require.Error(t, err)
    				return
    			}
    			require.NoError(t, err)
    			require.Equal(t, tc.expectedHint, actualHint)
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.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>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. chainable_api.go

    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    //	db.Where(&User{Name: "jinzhu", Age: 20}).First(&user)
    //	// Find the first user with name jinzhu and age not equal to 20
    //	db.Where("name = ?", "jinzhu").Where("age <> ?", "20").First(&user)
    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    func (db *DB) Where(query interface{}, args ...interface{}) (tx *DB) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/certcontroller.go

    		return err
    	}
    
    	// MeshConfig:Add callback for mesh config update
    	s.environment.AddMeshHandler(func() {
    		newCaBundle, _ := s.RA.GetRootCertFromMeshConfig(signerName)
    		if newCaBundle != nil && !bytes.Equal(newCaBundle, s.istiodCertBundleWatcher.GetKeyCertBundle().CABundle) {
    			newCertChain, newKeyPEM, _, err := chiron.GenKeyCertK8sCA(s.kubeClient.Kube(),
    				strings.Join(s.dnsNames, ","), "", signerName, true, SelfSignedCACertTTL.Get())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.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>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. src/go/types/unify.go

    			xset := xi.typeSet()
    			yset := yi.typeSet()
    			if xset.comparable != yset.comparable {
    				return false
    			}
    			// For now we require terms to be equal.
    			// We should be able to relax this as well, eventually.
    			if !xset.terms.equal(yset.terms) {
    				return false
    			}
    			// Interface types are the only types where cycles can occur
    			// that are not "terminated" via named types; and such cycles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    			xset := xi.typeSet()
    			yset := yi.typeSet()
    			if xset.comparable != yset.comparable {
    				return false
    			}
    			// For now we require terms to be equal.
    			// We should be able to relax this as well, eventually.
    			if !xset.terms.equal(yset.terms) {
    				return false
    			}
    			// Interface types are the only types where cycles can occur
    			// that are not "terminated" via named types; and such cycles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top