Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 879 for RES (0.12 sec)

  1. internal/hash/checksum.go

    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumSHA256|ChecksumTrailing, "")
    			case strings.EqualFold(header, ChecksumSHA1.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumSHA1|ChecksumTrailing, "")
    			}
    			if duplicates {
    				return nil, ErrInvalidChecksum
    			}
    		}
    		if res != nil {
    			return res, nil
    		}
    	}
    	t, s := getContentChecksum(h)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/os/exec_posix.go

    		res = "stop signal: " + status.StopSignal().String()
    		if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 {
    			res += " (trap " + itoa.Itoa(status.TrapCause()) + ")"
    		}
    	case status.Continued():
    		res = "continued"
    	}
    	if status.CoreDump() {
    		res += " (core dumped)"
    	}
    	return res
    }
    
    // ExitCode returns the exit code of the exited process, or -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tests/test_typing_python39.py

            app = FastAPI()
    
            @app.post("/", response_model=test_type)
            def post_endpoint(input: test_type):
                return input
    
            res = TestClient(app).post("/", json=expect)
            assert res.status_code == 200, res.json()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 709 bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/aggregate/controller.go

    	if !features.EnableAmbient {
    		return nil
    	}
    	var res []model.ServiceInfo
    	for _, p := range c.GetRegistries() {
    		res = append(res, p.ServicesForWaypoint(key)...)
    	}
    	return res
    }
    
    func (c *Controller) WorkloadsForWaypoint(key model.WaypointKey) []model.WorkloadInfo {
    	if !features.EnableAmbientWaypoints {
    		return nil
    	}
    	var res []model.WorkloadInfo
    	for _, p := range c.GetRegistries() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. pkg/lazy/lazy.go

    		return l.doSlow()
    	}
    	return l.res, l.err
    }
    
    func (l *lazyImpl[T]) doSlow() (T, error) {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if l.done == 0 {
    		done := uint32(1)
    		// Defer in case of panic
    		defer func() {
    			atomic.StoreUint32(&l.done, done)
    		}()
    		res, err := l.getter()
    		if l.retry && err != nil {
    			done = 0
    		} else {
    			l.res, l.err = res, err
    		}
    		return res, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. src/runtime/covercounter.go

    func coverage_getCovCounterList() []rtcov.CovCounterBlob {
    	res := []rtcov.CovCounterBlob{}
    	u32sz := unsafe.Sizeof(uint32(0))
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.covctrs == datap.ecovctrs {
    			continue
    		}
    		res = append(res, rtcov.CovCounterBlob{
    			Counters: (*uint32)(unsafe.Pointer(datap.covctrs)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 740 bytes
    - Viewed (0)
  7. cmd/kms-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(metrics); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    		writeSuccessResponseJSON(w, res)
    	}
    }
    
    // KMSAPIsHandler - POST /minio/kms/v1/apis
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. tests/scan_test.go

    	}
    
    	DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res)
    	if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2)
    	}
    
    	DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. pkg/istio-agent/health/health_probers.go

    		headers.Set("User-Agent", "istio-probe/1.0")
    	}
    	res, err := client.Do(req)
    	// if we were unable to connect, count as failure
    	if err != nil {
    		return Unhealthy, err
    	}
    	defer func() {
    		err = res.Body.Close()
    		if err != nil {
    			healthCheckLog.Error(err)
    		}
    	}()
    	// from [200,400)
    	if res.StatusCode >= http.StatusOK && res.StatusCode < http.StatusBadRequest {
    		return Healthy, nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. docs_src/sql_databases_peewee/sql_app/schemas.py

    from pydantic.utils import GetterDict
    
    
    class PeeweeGetterDict(GetterDict):
        def get(self, key: Any, default: Any = None):
            res = getattr(self._obj, key, default)
            if isinstance(res, peewee.ModelSelect):
                return list(res)
            return res
    
    
    class ItemBase(BaseModel):
        title: str
        description: Union[str, None] = None
    
    
    class ItemCreate(ItemBase):
        pass
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 868 bytes
    - Viewed (0)
Back to top