- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,510 for take (0.02 seconds)
-
internal/event/rules_test.go
rulesCase1 := make(Rules) rules2Case1 := make(Rules) expectedResultCase1 := make(Rules) rulesCase2 := make(Rules) rules2Case2 := make(Rules) rules2Case2.Add(NewPattern("*", "*"), TargetID{"1", "webhook"}) expectedResultCase2 := make(Rules) rulesCase3 := make(Rules) rulesCase3.Add(NewPattern("*", "*"), TargetID{"1", "webhook"}) rules2Case3 := make(Rules) expectedResultCase3 := make(Rules)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 8.8K bytes - Click Count (0) -
CONTRIBUTING.md
### Create your feature branch Before making code changes, make sure you create a separate branch for these changes ``` git checkout -b my-new-feature ``` ### Test MinIO server changes After your code changes, make sure - To add test cases for the new code. If you have questions about how to do it, please ask on our [Slack](https://slack.min.io) channel. - To run `make verifiers`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 05 18:35:53 GMT 2024 - 2.9K bytes - Click Count (0) -
src/bufio/bufio_test.go
t.Fatalf("wrong panic: %v", err) } default: t.Fatalf("unexpected panic value: %T(%v)", err, err) } }() b.Read(make([]byte, 100)) } var errFake = errors.New("fake error") type errorThenGoodReader struct { didErr bool nread int } func (r *errorThenGoodReader) Read(p []byte) (int, error) { r.nread++ if !r.didErr {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
internal/config/notify/config.go
func NewConfig() Config { // Make sure to initialize notification targets cfg := Config{ NSQ: make(map[string]target.NSQArgs), AMQP: make(map[string]target.AMQPArgs), MQTT: make(map[string]target.MQTTArgs), NATS: make(map[string]target.NATSArgs), Redis: make(map[string]target.RedisArgs), MySQL: make(map[string]target.MySQLArgs),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.8K bytes - Click Count (0) -
src/archive/tar/reader.go
var paxHdrs map[string]string var gnuLongName, gnuLongLink string // Externally, Next iterates through the tar archive as if it is a series of // files. Internally, the tar format often uses fake "files" to add meta // data that describes the next file. These meta data "files" should not // normally be visible to the outside. As such, this loop iterates through // one or more "header files" until it finds a "normal file".
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 26.9K bytes - Click Count (0) -
src/bytes/buffer_test.go
} rlen := rand.Intn(len(testString)) fub := make([]byte, rlen) n, _ := buf.Read(fub) s = s[n:] } empty(t, "TestMixedReadsAndWrites (2)", &buf, s, make([]byte, buf.Len())) } func TestCapWithPreallocatedSlice(t *testing.T) { buf := NewBuffer(make([]byte, 10)) n := buf.Cap() if n != 10 { t.Errorf("expected 10, got %d", n) } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
cmd/peer-s3-client.go
return nil }, idx) } errs := g.Wait() // The list of buckets in a map to avoid duplication resultMap := make(map[string]BucketInfo) for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ { perPoolErrs := make([]error, 0, len(sys.peerClients)) for i, client := range sys.peerClients { if slices.Contains(client.GetPools(), poolIdx) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
lib/fips140/Makefile
# license that can be found in the LICENSE file. # Rules for building and testing new FIPS snapshots. # For example: # # make v1.2.3.zip # make v1.2.3.test # # and then if changes are needed, check them into master # and run 'make v1.2.3.rm' and repeat. # # Note that once published a snapshot zip file should never # be modified. We record the sha256 hashes of the zip files
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 00:31:59 GMT 2025 - 1.4K bytes - Click Count (0) -
internal/event/rulesmap_test.go
t.Fatalf("test %v: result: expected: not equal, got: equal", i+1) } } } func TestRulesMapAdd(t *testing.T) { rulesMapCase1 := make(RulesMap) rulesMapToAddCase1 := make(RulesMap) expectedResultCase1 := make(RulesMap) rulesMapCase2 := make(RulesMap) rulesMapToAddCase2 := NewRulesMap([]Name{ObjectCreatedAll}, "*", TargetID{"1", "webhook"})
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jan 05 18:43:06 GMT 2024 - 6.8K bytes - Click Count (0) -
.github/workflows/go-healing.yml
run: | sudo sysctl net.ipv6.conf.all.disable_ipv6=0 sudo sysctl net.ipv6.conf.default.disable_ipv6=0 make verify-healing make verify-healing-inconsistent-versions make verify-healing-with-root-disksCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1.2K bytes - Click Count (0)