Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,301 for jake (0.02 seconds)

  1. cmd/data-usage-utils.go

    func (dui DataUsageInfo) tierStats() []madmin.TierInfo {
    	if dui.TierStats == nil {
    		return nil
    	}
    
    	if globalTierConfigMgr.Empty() {
    		return nil
    	}
    
    	ts := make(map[string]madmin.TierStats)
    	dui.TierStats.populateStats(ts)
    
    	infos := make([]madmin.TierInfo, 0, len(ts))
    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  2. internal/deadlineconn/deadlineconn_test.go

    			return
    		}
    		deadlineconn := New(tcpConn)
    		deadlineconn.WithReadDeadline(time.Second)
    		deadlineconn.WithWriteDeadline(time.Second)
    		defer deadlineconn.Close()
    
    		// Read a line
    		b := make([]byte, 12)
    		_, terr = deadlineconn.Read(b)
    		if terr != nil {
    			t.Errorf("failed to read from client. %v", terr)
    			return
    		}
    		received := string(b)
    		if received != "message one\n" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  3. cmd/namespace-lock.go

    // newNSLock - return a new name space lock map.
    func newNSLock(isDistErasure bool) *nsLockMap {
    	nsMutex := nsLockMap{
    		isDistErasure: isDistErasure,
    	}
    	if isDistErasure {
    		return &nsMutex
    	}
    	nsMutex.lockMap = make(map[string]*nsLock)
    	return &nsMutex
    }
    
    // nsLock - provides primitives for locking critical namespace regions.
    type nsLock struct {
    	ref int32
    	*lsync.LRWMutex
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. cmd/os_unix.go

    // By default at least 128 entries in single getdents call (1MiB buffer)
    var (
    	direntPool = bpool.Pool[*[]byte]{
    		New: func() *[]byte {
    			buf := make([]byte, blockSize*128)
    			return &buf
    		},
    	}
    
    	direntNamePool = bpool.Pool[*[]byte]{
    		New: func() *[]byte {
    			buf := make([]byte, blockSize)
    			return &buf
    		},
    	}
    )
    
    // unexpectedFileMode is a sentinel (and bogus) os.FileMode
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. cmd/object-api-options.go

    			argumentValue = tag
    			valid = false
    			return opts, valid
    		}
    	}
    
    	return opts, valid
    }
    
    func parseObjectAttributes(h http.Header) (attributes map[string]struct{}) {
    	attributes = make(map[string]struct{})
    	for _, headerVal := range h.Values(xhttp.AmzObjectAttributes) {
    		for v := range strings.SplitSeq(strings.TrimSpace(headerVal), ",") {
    			if v != "" {
    				attributes[v] = struct{}{}
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. ci/official/envs/disk_cache

    # Sourcing this enables local disk cache
    if [[ $(uname -s) == "Darwin" ]]; then
      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1023 bytes
    - Click Count (0)
  7. docs/en/docs/advanced/advanced-dependencies.md

    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance { #a-callable-instance }
    
    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. cmd/signature-v2.go

    	if accessKey == "" || gotSignature == "" || expires == "" {
    		return ErrInvalidQueryParams
    	}
    
    	cred, _, s3Err := checkKeyValid(r, accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Make sure the request has not expired.
    	expiresInt, err := strconv.ParseInt(expires, 10, 64)
    	if err != nil {
    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

    import java.util.concurrent.RejectedExecutionException
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.finishedAccessor
    
    /**
     * A fake executor for testing that never executes anything! Instead, it just keeps track of what's
     * been enqueued.
     */
    internal class RecordingExecutor(
      private val dispatcherTest: DispatcherTest,
    ) : AbstractExecutorService() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 18:34:01 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.docker;
    
    import java.util.stream.Collectors;
    import java.util.stream.IntStream;
    
    /**
     * The methods in this class take a shell command and wrap it in retry logic, so that our
     * Docker builds can be more robust in the face of transient errors e.g. network issues.
     */
    public class ShellRetry {
        static String loop(String name, String command) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 10 13:10:22 GMT 2021
    - 1.9K bytes
    - Click Count (0)
Back to Top