- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 515 for _const0 (0.03 sec)
-
internal/s3select/jstream/scanner.go
package jstream import ( "io" "sync/atomic" ) const ( chunk = 4095 // ~4k maxUint = ^uint(0) maxInt = int64(maxUint >> 1) nullByte = byte(0) ) type scanner struct { pos int64 // position in reader ipos int64 // internal buffer position ifill int64 // internal buffer fill end int64 buf [chunk + 1]byte // internal buffer (with a lookback size of 1)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/c/c_test.c
TF_DeleteStatus(s); } // Exercises tensorflow's C API. int main(int argc, char** argv) { TF_InitMain(argv[0], &argc, &argv); struct TF_StringStream* s = TF_GetLocalTempDirectories(); const char* path; if (!TF_StringStreamNext(s, &path)) { fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n"); return 1; } char file_name[100]; time_t t = time(NULL);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/rest/client.go
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/mcontext" xnet "github.com/minio/pkg/v3/net" ) const logSubsys = "internodes" // DefaultTimeout - default REST timeout is 10 seconds. const DefaultTimeout = 10 * time.Second const ( offline = iota online closed ) // NetworkError - error type in case of errors related to http/transport
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.7K bytes - Viewed (0) -
src/bytes/buffer.go
package bytes // Simple byte buffer for marshaling data. import ( "errors" "io" "unicode/utf8" ) // smallBufferSize is an initial allocation minimal capacity. const smallBufferSize = 64 // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods. // The zero value for Buffer is an empty buffer ready to use. type Buffer struct {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "math" ) const ( sysCPUAvgIdle = "avg_idle" sysCPUAvgIOWait = "avg_iowait" sysCPULoad = "load" sysCPULoadPerc = "load_perc" sysCPUNice = "nice" sysCPUSteal = "steal" sysCPUSystem = "system"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0) -
internal/disk/directio_unsupported.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "os" ) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = false // OpenBSD, Windows, and illumos do not support O_DIRECT. // On Windows there is no documentation on disabling O_DIRECT. // For these systems we do not attempt to build the 'directio' dependency since
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.6K bytes - Viewed (0) -
internal/config/drive/drive.go
package drive import ( "sync" "time" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" ) // Drive specific timeout environment variables const ( EnvMaxDriveTimeout = "MINIO_DRIVE_MAX_TIMEOUT" EnvMaxDriveTimeoutLegacy = "_MINIO_DRIVE_MAX_TIMEOUT" EnvMaxDiskTimeoutLegacy = "_MINIO_DISK_MAX_TIMEOUT" ) // DefaultKVS - default KVS for drive
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 11 14:51:43 UTC 2024 - 3K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
} rs.Bytes += uint64(onDiskSz) rs.Bucket = bucket rs.Object = fi.Name } type rstats []*rebalanceStats //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE type rebalStatus uint8 const ( rebalNone rebalStatus = iota rebalStarted rebalCompleted rebalStopped rebalFailed ) type rebalanceInfo struct { StartTime time.Time `msg:"startTs"` // Time at which rebalance-start was issued
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 28.7K bytes - Viewed (0) -
src/bytes/reader_test.go
t.Errorf("got string %q; want %q", b.String(), s) } if r.Len() != 0 { t.Errorf("reader contains %v bytes; want 0", r.Len()) } } } func TestReaderLen(t *testing.T) { const data = "hello world" r := NewReader([]byte(data)) if got, want := r.Len(), 11; got != want { t.Errorf("r.Len(): got %d, want %d", got, want) } if n, err := r.Read(make([]byte, 10)); err != nil || n != 10 {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
"github.com/minio/madmin-go/v3/logger/audit" "github.com/minio/minio/internal/handlers" xhttp "github.com/minio/minio/internal/http" ) // Version - represents the current version of audit log structure. const Version = "1" // NewEntry - constructs an audit entry object with some fields filled func NewEntry(deploymentID string) audit.Entry { return audit.Entry{ Version: Version, DeploymentID: deploymentID,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.2K bytes - Viewed (0)