Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,638 for cons (0.41 sec)

  1. chainable_api.go

    func (db *DB) Clauses(conds ...clause.Expression) (tx *DB) {
    	tx = db.getInstance()
    	var whereConds []interface{}
    
    	for _, cond := range conds {
    		if c, ok := cond.(clause.Interface); ok {
    			tx.Statement.AddClause(c)
    		} else if optimizer, ok := cond.(StatementModifier); ok {
    			optimizer.ModifyStatement(tx.Statement)
    		} else {
    			whereConds = append(whereConds, cond)
    		}
    	}
    
    	if len(whereConds) > 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. pilot/pkg/status/distribution/reporter_test.go

    	Expect(r.reverseStatus).To(Equal(map[string]sets.String{"a": {"conB~": x}, "c": {"conC~": x}, "d": {"conD~": x, "conA~": x}}))
    	r.RegisterDisconnect("conA", sets.New[xds.EventType](typ))
    	Expect(r.status).To(Equal(map[string]string{"conB~": "a", "conC~": "c", "conD~": "d"}))
    	Expect(r.reverseStatus).To(Equal(map[string]sets.String{"a": {"conB~": x}, "c": {"conC~": x}, "d": {"conD~": x}}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	if err != nil && !apierrors.IsNotFound(err) {
    		return errors.Wrapf(err, "cannot get Node %q", nodeName)
    	}
    	for _, cond := range node.Status.Conditions {
    		if cond.Type == v1.NodeReady && cond.Status == v1.ConditionTrue {
    			return errors.Errorf("a Node with name %q and status %q already exists in the cluster. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/net/testdata/search-single-dot-resolv.conf

    # /etc/resolv.conf
    
    domain localdomain
    search .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 03:01:14 UTC 2022
    - 67 bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    		"foo": sets.New[string]("dev-foo1", "dev-foo2"),
    		"bar": sets.New[string]("dev-bar1"),
    	}
    	resp = devs.Filter(cond)
    	expected = `{"bar":{"dev-bar1":{"ID":"bar1"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"}}}`
    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/compare.go

    		}
    	}
    	and := func(cond ir.Node) {
    		if expr == nil {
    			expr = cond
    		} else {
    			expr = ir.NewLogicalExpr(base.Pos, andor, expr, cond)
    		}
    	}
    	cmpl = safeExpr(cmpl, init)
    	cmpr = safeExpr(cmpr, init)
    	if t.IsStruct() {
    		conds, _ := compare.EqStruct(t, cmpl, cmpr)
    		if n.Op() == ir.OEQ {
    			for _, cond := range conds {
    				and(cond)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    		var conf *socks5.Config
    		if creds != nil {
    			authenticator := socks5.UserPassAuthenticator{Credentials: creds}
    			conf = &socks5.Config{
    				AuthMethods: []socks5.Authenticator{authenticator},
    				Rewriter:    interceptor,
    			}
    		} else {
    			conf = &socks5.Config{Rewriter: interceptor}
    		}
    
    		ts, err := socks5.New(conf)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  8. callbacks/preload.go

    	column, values := schema.ToQueryValues(clause.CurrentTable, relForeignKeys, foreignValues)
    
    	if len(values) != 0 {
    		for _, cond := range conds {
    			if fc, ok := cond.(func(*gorm.DB) *gorm.DB); ok {
    				tx = fc(tx)
    			} else {
    				inlineConds = append(inlineConds, cond)
    			}
    		}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/net/main_conf_test.go

    	t.Run("default resolver", f)
    	t.Run("forced go resolver", func(t *testing.T) {
    		// On plan9 the forceGoDNS might not force the go resolver, currently
    		// it is only forced when the Resolver.Dial field is populated.
    		// See conf.go mustUseGoResolver.
    		defer forceGoDNS()()
    		f(t)
    	})
    	t.Run("forced cgo resolver", func(t *testing.T) {
    		defer forceCgoDNS()()
    		f(t)
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:29:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/net/dnsclient_unix_test.go

    	if err != nil {
    		return nil, err
    	}
    	conf := &resolvConfTest{
    		dir:            dir,
    		path:           path.Join(dir, "resolv.conf"),
    		resolverConfig: &resolvConf,
    	}
    	conf.initOnce.Do(conf.init)
    	return conf, nil
    }
    
    func (conf *resolvConfTest) write(lines []string) error {
    	f, err := os.OpenFile(conf.path, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0600)
    	if err != nil {
    		return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top