Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,029 for Base (0.02 sec)

  1. cni/pkg/nodeagent/server_test.go

    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    			t.Fatal("Wait group timed out!\n")
    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    	atomic.AddInt32(&wg.count, i)
    }
    
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    	m.Set(driveFreeInodes, float64(drive.FreeInodes), labels...)
    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    	var health float64
    	switch drive.Healing {
    	case true:
    		health = driveHealthHealing
    	case false:
    		if drive.State == "ok" {
    			health = driveHealthOnline
    		} else {
    			health = driveHealthOffline
    		}
    	}
    	m.Set(driveHealth, health, labels...)
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. istioctl/pkg/util/handlers/handlers.go

    	switch t := object.(type) {
    	case *gatewayapi.Gateway:
    		if !gateway.IsManaged(&t.Spec) {
    			return "", nil, fmt.Errorf("gateway is not a managed gateway")
    		}
    		namespace = t.Namespace
    		selector, err = labels.Parse(label.IoK8sNetworkingGatewayGatewayName.Name + "=" + t.Name)
    	case *gatewayapibeta.Gateway:
    		if !gateway.IsManaged(&t.Spec) {
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

                Swagger UI (that provides the `/docs` interface) has better support for the
                OpenAPI-specific examples than the JSON Schema `examples`, that's the main
                use case for this.
    
                Read more about it in the
                [FastAPI docs for Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/#using-the-openapi_examples-parameter).
                """
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  5. src/main/webapp/css/style.css

    	height: 100%;
    	overflow: auto;
    	position: fixed;
    	top: 0;
    	bottom: 0;
    	right: -500px;
    	padding-top: 72px;
    	padding-bottom: 20px;
    	color: #fff;
    	background-color: rgba(60, 60, 60, 0.93);
    	transition: all .4s ease 0s;
    }
    
    #searchOptions.active .container {
    	right: 0;
    }
    
    /* index */
    
    .mainLogo {
    	margin-bottom: 1em;
    }
    
    .searchFormBox {
    	margin-top: 8em;
    	margin-bottom: 4em;
    }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Jun 02 11:39:35 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. cmd/etcd.go

    )
    
    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    		return fmt.Errorf("%w %s", errEtcdUnreachable, etcdEndpoints)
    	default:
    		return fmt.Errorf("unexpected error %w from etcd, please check your endpoints %s", err, etcdEndpoints)
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. cmd/api-errors_test.go

    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := context.Background()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/popper.min.js

    0!==arguments[1]&&arguments[1],o=he.indexOf(e),n=he.slice(o+1).concat(he.slice(0,o));return t?n.reverse():n}function _(e,t,o,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}var d=g(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?ee(document.documentElement.clientHeight,window.innerHeight||0):ee(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function...
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. callbacks/query.go

    			queryFields := db.QueryFields
    			if !queryFields {
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    				case reflect.Slice:
    					queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType
    				}
    			}
    
    			if queryFields {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cni/pkg/plugin/sidecar_redirect.go

    func alwaysValidFunc(value string) error {
    	return nil
    }
    
    // validateInterceptionMode validates the interceptionMode annotation
    func validateInterceptionMode(mode string) error {
    	switch mode {
    	case redirectModeREDIRECT:
    	case redirectModeTPROXY:
    	default:
    		return fmt.Errorf("interceptionMode invalid: %v", mode)
    	}
    	return nil
    }
    
    func validateCIDRList(cidrs string) error {
    	if len(cidrs) > 0 {
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top