- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,278 for Bool (0.02 sec)
-
internal/s3select/csv/recordtransform.go
type recordTransform struct { reader io.Reader // recordDelimiter can be up to 2 characters. recordDelimiter []byte oneByte []byte useOneByte bool } func (rr *recordTransform) Read(p []byte) (n int, err error) { if rr.useOneByte { p[0] = rr.oneByte[0] rr.useOneByte = false n, err = rr.reader.Read(p[1:]) n++ } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/disk/stat_test.go
package disk import ( "os" "reflect" "testing" ) func TestReadDriveStats(t *testing.T) { testCases := []struct { stat string expectedIOStats IOStats expectErr bool }{ { stat: "1432553 420084 66247626 2398227 7077314 8720147 157049224 7469810 0 7580552 9869354 46037 0 41695120 1315 0 0", expectedIOStats: IOStats{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
virtual bool PreferCustomSummarizer() const { return false; } // Returns a string which summarizes the value of this TensorHandle, for // debugging. Does not include a shape or dtype. // // Included in the default implementation of DebugString. virtual absl::Status SummarizeValue(std::string& summary) const; // For LLVM style RTTI. static bool classof(const AbstractTensorHandle* ptr) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.3K bytes - Viewed (0) -
cmd/site-replication-metrics.go
XferRateSml *XferStats `json:"smallTransferRate" msg:"st"` // Endpoint is the replication target endpoint Endpoint string `json:"-"` // Secure is true if the replication target endpoint is secure Secure bool `json:"-"` } func (sr *SRStats) update(st replStat, dID string) { sr.lock.Lock() defer sr.lock.Unlock() srs, ok := sr.M[dID] if !ok { srs = &SRStatus{ XferRateLrg: newXferStats(),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 8.2K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
} reset := func() { bf.Reset() } ret := make(map[time.Duration][]string) s := bufio.NewScanner(f) s.Split(bufio.ScanLines) var ( t time.Duration skip, record bool ) for s.Scan() { line := s.Text() switch { case skip && line != "": case skip && line == "": skip = false case record && line == "": stackTrace := bf.String() reset()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/metrics-v3-cluster-erasure-set.go
erasureSetReadQuorumMD = NewGaugeMD(erasureSetReadQuorum, "Read quorum for the erasure set in a pool", poolIDL, setIDL) erasureSetWriteQuorumMD = NewGaugeMD(erasureSetWriteQuorum, "Write quorum for the erasure set in a pool", poolIDL, setIDL) erasureSetOnlineDrivesCountMD = NewGaugeMD(erasureSetOnlineDrivesCount, "Count of online drives in the erasure set in a pool", poolIDL, setIDL) erasureSetHealingDrivesCountMD = NewGaugeMD(erasureSetHealingDrivesCount,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 14 07:25:56 UTC 2024 - 4.4K bytes - Viewed (0) -
utils/tests/models.go
Company Company ManagerID *uint Manager *User Team []User `gorm:"foreignkey:ManagerID"` Languages []Language `gorm:"many2many:UserSpeak;"` Friends []*User `gorm:"many2many:user_friends;"` Active bool } type Account struct { gorm.Model UserID sql.NullInt64 Number string } type Pet struct { gorm.Model UserID *uint Name string Toy Toy `gorm:"polymorphic:Owner;"` }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Dec 15 08:36:08 UTC 2023 - 2.1K bytes - Viewed (0) -
internal/config/identity/openid/provider/provider.go
} // User represents information about user. type User struct { Name string `json:"username"` ID string `json:"id"` Enabled bool `json:"enabled"` } // Standard errors. var ( ErrNotImplemented = errors.New("function not implemented") ErrAccessTokenExpired = errors.New("access_token expired or unauthorized") )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.7K bytes - Viewed (0) -
internal/config/lambda/event/arn_test.go
} } } func TestParseARN(t *testing.T) { testCases := []struct { s string expectedARN *ARN expectErr bool }{ {"", nil, true}, {"arn:minio:s3-object-lambda:::", nil, true}, {"arn:minio:s3-object-lambda::1:webhook:remote", nil, true}, {"arn:aws:s3-object-lambda::1:webhook", nil, true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 2.2K bytes - Viewed (0) -
docs_src/security/tutorial002_py310.py
app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 711 bytes - Viewed (0)