- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 827 for len2 (0.07 seconds)
-
internal/s3select/sql/parser_test.go
t.Fatal(err) } tokens, err := lexer.ConsumeAll(lex) if err != nil { t.Fatal(err) } // for i, t := range tokens { // fmt.Printf("%d: %#v\n", i, t) // } if len(tokens) != 7 { t.Fatalf("Expected 7 got %d", len(tokens)) } } func TestSelectWhere(t *testing.T) { p := participle.MustBuild( &Select{}, participle.Lexer(sqlLexer), participle.CaseInsensitive("Keyword"), )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Click Count (0) -
cmd/admin-handlers-idp-ldap.go
writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL) return } dnList := r.Form["userDNs"] isAll := r.Form.Get("all") == "true" selfOnly := !isAll && len(dnList) == 0 if isAll && len(dnList) > 0 { // This should be checked on client side, so return generic error writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL) return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:46:04 GMT 2025 - 19.2K bytes - Click Count (0) -
docs_src/request_files/tutorial001_an_py39.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes, File()]): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 322 bytes - Click Count (0) -
fastapi/dependencies/utils.py
return flat_dependant def _get_flat_fields_from_params(fields: list[ModelField]) -> list[ModelField]: if not fields: return fields first_field = fields[0] if len(fields) == 1 and lenient_issubclass(first_field.type_, BaseModel): fields_to_extract = get_cached_model_fields(first_field.type_) return fields_to_extract return fieldsCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3) -
cmd/erasure-healing_test.go
err = obj.MakeBucket(ctx, "bucket", MakeBucketOptions{}) if err != nil { t.Fatal(err) } bucket := "bucket" object := "object" data := make([]byte, 1*humanize.MiByte) length := int64(len(data)) _, err = rand.Read(data) if err != nil { t.Fatal(err) } _, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(data), length, "", ""), ObjectOptions{}) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
internal/bucket/replication/datatypes_gen.go
} o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z StatusType) Msgsize() (s int) { s = msgp.StringPrefixSize + len(string(z)) return } // DecodeMsg implements msgp.Decodable func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 int zb0001, err = dc.ReadInt() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/site-replication_test.go
set.CreateStringSet("dep1", "dep2", "dep3", "dep4"), []string{}, }, } for i, tc := range testCases { names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites) if len(names) != len(tc.expNames) { t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 2.2K bytes - Click Count (0) -
internal/mountinfo/mountinfo_windows.go
if v, ok := mountPointCache.Load(path); ok { if b, ok := v.(bool); ok { return b } } wpath, _ := windows.UTF16PtrFromString(path) wvolume := make([]uint16, len(path)+1) if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil { mountPointCache.Store(path, false) return false } switch windows.GetDriveType(&wvolume[0]) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
super(new DataOutputStream(Preconditions.checkNotNull(out))); } @Override public void write(byte[] b, int off, int len) throws IOException { // Override slow FilterOutputStream impl out.write(b, off, len); } @Override public void writeBoolean(boolean v) throws IOException { ((DataOutputStream) out).writeBoolean(v); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 5.1K bytes - Click Count (0) -
cmd/object-api-input-checks.go
// Verify if bucket is valid. if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil { return BucketNameInvalid{Bucket: bucket} } // Verify if object is valid. if len(object) == 0 { return ObjectNameInvalid{Bucket: bucket, Object: object} } if !IsValidObjectPrefix(object) { return ObjectNameInvalid{Bucket: bucket, Object: object} }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 5.7K bytes - Click Count (0)