- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 568 for CONST (0.03 sec)
-
src/cmd/api/main_test.go
switch obj := obj.(type) { case *types.Const: if w.isDeprecated(obj) { w.emitf("const %s //deprecated", obj.Name()) } w.emitf("const %s %s", obj.Name(), w.typeString(obj.Type())) x := obj.Val() short := x.String() exact := x.ExactString() if short == exact { w.emitf("const %s = %s", obj.Name(), short) } else { w.emitf("const %s = %s // %s", obj.Name(), short, exact) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
src/bufio/bufio_test.go
// fills the buffer before switching over to ReadFrom. func TestWriterReadFromWithBufferedData(t *testing.T) { const bufsize = 16 input := createTestInput(64) rfw := &readFromWriter{} w := NewWriterSize(rfw, bufsize) const writeSize = 8 if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
internal/ioutil/ioutil.go
import ( "context" "errors" "io" "os" "runtime/debug" "sync" "time" "github.com/dustin/go-humanize" "github.com/minio/minio/internal/disk" ) // Block sizes constant. const ( SmallBlock = 32 * humanize.KiByte // Default r/w block size for smaller objects. MediumBlock = 128 * humanize.KiByte // Default r/w block size for medium sized objects.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/metacache-marker.go
package cmd import ( "context" "fmt" "strconv" "strings" ) // markerTagVersion is the marker version. // Should not need to be updated unless a fundamental change is made to the marker format. const markerTagVersion = "v2" // parseMarker will parse a marker possibly encoded with encodeMarker func (o *listPathOptions) parseMarker() { s := o.Marker if !strings.Contains(s, "[minio_cache:"+markerTagVersion) { return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. // Package deadlineconn implements net.Conn wrapper with configured deadlines. package deadlineconn import ( "net" "time" ) const updateInterval = 250 * time.Millisecond // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout. type DeadlineConn struct { net.Conn
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 17:40:11 UTC 2024 - 2.6K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - 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 Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
"msg": "ensure this value is greater than or equal to 0", "ctx": {"limit_value": 0}, }, { "type": "value_error.const", "loc": ["query", "order_by"], "msg": "unexpected value; permitted: 'created_at', 'updated_at'", "ctx": { "given": "invalid",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0) -
internal/s3select/json/reader.go
"github.com/minio/minio/internal/s3select/sql" ) // Limit single document size to 10MiB, 10x the AWS limit: // https://docs.aws.amazon.com/AmazonS3/latest/userguide/selecting-content-from-objects.html const maxDocumentSize = 10 << 20 // Reader - JSON record reader for S3Select. type Reader struct { args *ReaderArgs decoder *jstream.Decoder valueCh chan *jstream.MetaValue readCloser io.ReadCloser }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
"crypto/x509" "errors" "sort" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/fips" "github.com/minio/pkg/v3/ldap" ) const ( defaultLDAPExpiry = time.Hour * 1 minLDAPExpiry time.Duration = 15 * time.Minute maxLDAPExpiry time.Duration = 365 * 24 * time.Hour ) // Config contains AD/LDAP server connectivity information.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 8.4K bytes - Viewed (0)