- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 592 for yields (0.04 seconds)
-
cmd/postpolicyform_test.go
wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Meta-Name" not specified in the policy.`, }, { name: "unknown key XAmzChecksumAlgo is error as it does not appear in policy", fv: defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumAlgo), "algo-val"),Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/event/target/kafka.go
} `json:"sasl"` Producer struct { Compression string `json:"compression"` CompressionLevel int `json:"compressionLevel"` } `json:"producer"` } // Validate KafkaArgs fields func (k KafkaArgs) Validate() error { if !k.Enable { return nil } if len(k.Brokers) == 0 { return errors.New("no broker address found") } for _, b := range k.Brokers {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
src/bytes/reader_test.go
defer wg.Done() var buf [1]byte r.ReadAt(buf[:], int64(i)) }(i) } wg.Wait() } func TestEmptyReaderConcurrent(t *testing.T) { // Test for the race detector, to verify a Read that doesn't yield any bytes // is okay to use from multiple goroutines. This was our historic behavior. // See golang.org/issue/7856 r := NewReader([]byte{}) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(2)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Click Count (0) -
internal/hash/checksum.go
return nil } return map[string]string{ c.Type.String(): c.Encoded, xhttp.AmzChecksumType: c.Type.ObjType(), } } // Equal returns whether two checksum structs are equal in all their fields. func (c *Checksum) Equal(s *Checksum) bool { if c == nil || s == nil { return c == s } return c.Type == s.Type && c.Encoded == s.Encoded && bytes.Equal(c.Raw, s.Raw) &&
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0) -
tests/association_generics_test.go
t.Fatalf("failed preload company: %v", err) } if got.Company.ID == 0 || got.Company.Name != "Belongs-To-Co" { t.Fatalf("expected Company assigned, got %+v", got.Company) } } // Mixed fields + association: update Age and create a pet together func TestClauseAssociationSetUpdateMixedFieldAndAssociation(t *testing.T) { ctx := context.Background() user := User{Name: "TestClauseAssociationSetUpdateMixed", Age: 20}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
internal/bucket/replication/filter.go
return err } case !f.Tag.IsEmpty(): if err := e.EncodeElement(f.Tag, xml.StartElement{Name: xml.Name{Local: "Tag"}}); err != nil { return err } default: // Always print Prefix field when both And & Tag are empty if err := e.EncodeElement(f.Prefix, xml.StartElement{Name: xml.Name{Local: "Prefix"}}); err != nil { return err } } return e.EncodeToken(xml.EndElement{Name: start.Name}) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
} // xlMetaV2Version describes the journal entry, Type defines // the current journal entry type other types might be nil based // on what Type field carries, it is imperative for the caller // to verify which journal type first before accessing rest of the fields. type xlMetaV2Version struct { Type VersionType `json:"Type" msg:"Type"`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
internal/event/target/nats.go
Async bool `json:"async"` MaxPubAcksInflight int `json:"maxPubAcksInflight"` } `json:"streaming"` RootCAs *x509.CertPool `json:"-"` } // Validate NATSArgs fields func (n NATSArgs) Validate() error { if !n.Enable { return nil } if n.Address.IsEmpty() { return errors.New("empty address") } if n.Subject == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.5K bytes - Click Count (0) -
internal/dsync/dsync_test.go
// non-profitable and allows to confirm that spinning does not do harm. // To achieve this we create excess of goroutines most of which do local work. // These goroutines yield during local work, so that switching from // a blocked goroutine to other goroutines is profitable. // As a matter of fact, this benchmark still triggers some spinning in the mutex. m := NewDRWMutex(ds, "")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
update-credits.sh
END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that aCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 11 05:08:38 GMT 2023 - 11.4K bytes - Click Count (0)