Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,703 for Fake (0.03 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. internal/config/crypto.go

    	if err != nil {
    		return nil, err
    	}
    	stream, err := algorithm.Stream(key.Plaintext)
    	if err != nil {
    		return nil, err
    	}
    	nonce := make([]byte, stream.NonceSize())
    	if _, err := rand.Read(nonce); err != nil {
    		return nil, err
    	}
    
    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    		Version         = 1
    	)
    	var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. docs/tuning/README.md

    # How to enable 'minio' performance profile with tuned?
    
    ## Prerequisites
    
    Please make sure the following packages are already installed via `dnf` or `apt`: 
    
    - `tuned`
    - `curl`
    
    ### Install `tuned.conf` performance profile
    
    #### Step 1 - download `tuned.conf` from the referenced link
    ```
    wget https://raw.githubusercontent.com/minio/minio/master/docs/tuning/tuned.conf
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 19 01:15:02 UTC 2024
    - 644 bytes
    - Viewed (0)
  4. .github/workflows/go-cross.yml

            env:
              CGO_ENABLED: 0
              GO111MODULE: on
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 957 bytes
    - Viewed (0)
  5. CHANGELOG/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    options:
      # make root approval non-recursive
      no_parent_owners: true
    approvers:
      - release-engineering-approvers
      - release-managers
      - AuraSinis # 1.24 Release Notes Lead
      - cici37 # 1.23 Release Notes Lead
      - csantanapr # 1.25 Release Notes Lead
      - harshanarayana # 1.27 Release Notes Lead
      - ramrodo # 1.26 Release Notes Lead
      - sanchita-07 # 1.28 Release Notes Lead
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 24 16:11:28 UTC 2024
    - 801 bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	if len(md5sumCurr) == 0 {
    		// md5sumCurr is only empty when we are running
    		// in non-compatibility mode.
    		md5sumCurr = make([]byte, 16)
    		rand.Read(md5sumCurr)
    		appendHyphen = true
    	}
    	if p.sealMD5Fn != nil {
    		md5sumCurr = p.sealMD5Fn(md5sumCurr)
    	}
    	if appendHyphen {
    		// Make sure to return etag string upto 32 length, for SSE
    		// requests ETag might be longer and the code decrypting the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    func WithDeadline[V any](ctx context.Context, timeout time.Duration, work func(ctx context.Context) (result V, err error)) (result V, err error) {
    	ctx, cancel := context.WithTimeout(ctx, timeout)
    	defer cancel()
    
    	c := make(chan ioret[V], 1)
    	go func() {
    		v, err := work(ctx)
    		c <- ioret[V]{val: v, err: err}
    	}()
    
    	select {
    	case v := <-c:
    		return v.val, v.err
    	case <-ctx.Done():
    		var zero V
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/tier-last-day-stats_gen_test.go

    	v := DailyAllTierStats{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgDailyAllTierStats(b *testing.B) {
    	v := DailyAllTierStats{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/bucket/bandwidth/monitor_gen_test.go

    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBucketBandwidthReport(b *testing.B) {
    	v := BucketBandwidthReport{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. .github/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    options:
      # make root approval non-recursive
      no_parent_owners: true
    reviewers:
      - alisondy
      - cblecker
      - guineveresaenger
      - mrbobbytables
      - nikhita
      - parispittman
      - palnabarun
      - kaslin
      - MadhavJivrajani
      - Priyankasaggu11929
    approvers:
      - sig-contributor-experience-approvers
      - parispittman
    emeritus_approvers:
      - castrojo
      - Phillels
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Apr 10 07:04:03 UTC 2023
    - 450 bytes
    - Viewed (0)
Back to top