Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,450 for var1 (0.02 sec)

  1. cmd/erasure-common.go

    package cmd
    
    import (
    	"context"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			if disks[i] == nil {
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. internal/rest/rpc-stats.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package rest
    
    import (
    	"net/http"
    	"net/http/httptrace"
    	"sync/atomic"
    	"time"
    )
    
    var globalStats = struct {
    	errs uint64
    
    	tcpDialErrs                 uint64
    	tcpDialCount                uint64
    	tcpDialTotalDur             uint64
    	tcpTimeForFirstByteTotalDur uint64
    }{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Headers.commonValue(index: Int): String =
      namesAndValues.getOrNull(index * 2 + 1) ?: throw IndexOutOfBoundsException("value[$index]")
    
    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
      for (i in 0 until size) {
        if (name.equals(name(i), ignoreCase = true)) {
          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. internal/config/crypto.go

    	}
    	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 (
    		header [5]byte
    		buffer bytes.Buffer
    	)
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	metadata, err := json.Marshal(encryptedObject{
    		KeyID:     key.KeyID,
    		KMSKey:    key.Ciphertext,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      private val sink: BufferedSink,
      private val client: Boolean,
    ) : Closeable {
      internal val lock: ReentrantLock = ReentrantLock()
    
      private val hpackBuffer: Buffer = Buffer()
      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
      private var closed: Boolean = false
      val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer)
    
      @Throws(IOException::class)
      fun connectionPreface() {
        this.withLock {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. cmd/handler-utils.go

    // of MinIO server.
    func isValidLocation(location string) bool {
    	region := globalSite.Region()
    	return region == "" || region == location
    }
    
    // Supported headers that needs to be extracted.
    var supportedHeaders = []string{
    	"content-type",
    	"cache-control",
    	"content-language",
    	"content-encoding",
    	"content-disposition",
    	"x-amz-storage-class",
    	xhttp.AmzStorageClass,
    	xhttp.AmzObjectTagging,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    	"errors"
    	"hash"
    	"hash/crc32"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"time"
    )
    
    var zipinsecurepath = godebug.New("zipinsecurepath")
    
    var (
    	ErrFormat       = errors.New("zip: not a valid zip file")
    	ErrAlgorithm    = errors.New("zip: unsupported compression algorithm")
    	ErrChecksum     = errors.New("zip: checksum error")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig.jsp

                                                           styleClass="form-control">
                                                    <la:option value=""/>
                                                    <c:forEach var="hn" varStatus="s"
                                                               items="${handlerNameItems}">
                                                        <la:option value="${f:u(hn.value)}">${f:h(hn.label)}</la:option>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 9.3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym.jsp

                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${synonymItemItems}">
                                                    <tr
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 24 13:43:18 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HandshakeCertificatesTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      private lateinit var executorService: ExecutorService
    
      private var serverSocket: ServerSocket? = null
    
      @BeforeEach fun setUp() {
        executorService = Executors.newCachedThreadPool(threadFactory("HandshakeCertificatesTest"))
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top