Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 656 for const0 (0.08 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            writeResponse(pushedStream, request, pushPromise.response)
          }
        }
      }
    
      @ExperimentalOkHttpApi
      companion object {
        private const val CLIENT_AUTH_NONE = 0
        private const val CLIENT_AUTH_REQUESTED = 1
        private const val CLIENT_AUTH_REQUIRED = 2
    
        private val UNTRUSTED_TRUST_MANAGER =
          object : X509TrustManager {
            @Throws(CertificateException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    //go:generate msgp -file=$GOFILE -unexported
    
    package cmd
    
    import (
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    const (
    	sizeLessThan1KiB = iota
    	sizeLessThan1MiB
    	sizeLessThan10MiB
    	sizeLessThan100MiB
    	sizeLessThan1GiB
    	sizeGreaterThan1GiB
    	// Add new entries here
    
    	sizeLastElemMarker
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    		dst.Code = dsync.RespLockConflict
    	case errLockNotFound:
    		dst.Code = dsync.RespLockNotFound
    	default:
    		dst.Code = dsync.RespErr
    		dst.Err = err.Error()
    	}
    	return dst, nil
    }
    
    const (
    	// Lock maintenance interval.
    	lockMaintenanceInterval = 1 * time.Minute
    
    	// Lock validity duration
    	lockValidityDuration = 1 * time.Minute
    )
    
    // lockMaintenance loops over all locks and discards locks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/dummy-data-generator_test.go

    	if totalLength < 0 {
    		panic("Negative length passed to DummyDataGen!")
    	}
    	if skipOffset < 0 {
    		panic("Negative rotations are not allowed")
    	}
    
    	skipOffset %= int64(len(alphabets))
    	const multiply = 100
    	as := bytes.Repeat(alphabets, multiply)
    	b := as[skipOffset : skipOffset+int64(len(alphabets)*(multiply-1))]
    	return &DummyDataGen{
    		length: totalLength,
    		b:      b,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/rule.go

    package lifecycle
    
    import (
    	"bytes"
    	"encoding/xml"
    )
    
    // Status represents lifecycle configuration status
    type Status string
    
    // Supported status types
    const (
    	Enabled  Status = "Enabled"
    	Disabled Status = "Disabled"
    )
    
    // Rule - a rule for lifecycle configuration.
    type Rule struct {
    	XMLName             xml.Name            `xml:"Rule"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

            threadToCancel!!.interrupt()
          }
          latch.countDown()
        }.apply { start() }
        return latch
      }
    
      companion object {
        // The size of the socket buffers in bytes.
        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    }
    
    class CancelModelParamProvider : SimpleProvider() {
      override fun arguments() =
        CancelTest.CancelMode.values().flatMap { c ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. internal/s3select/json/preader.go

    	dst = append(dst, in...)
    	return dst, err
    }
    
    // jsonSplitSize is the size of each block.
    // Blocks will read this much and find the first following newline.
    // 128KB appears to be a very reasonable default.
    const jsonSplitSize = 128 << 10
    
    // startReaders will read the header if needed and spin up a parser
    // and a number of workers based on GOMAXPROCS.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. internal/event/name.go

    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    	ObjectAccessedGet Name = 1 + iota
    	ObjectAccessedGetRetention
    	ObjectAccessedGetLegalHold
    	ObjectAccessedHead
    	ObjectAccessedAttributes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/server-startup-msg.go

    // and custom platform specific message.
    func printCLIAccessMsg(endPoint string, alias string) {
    	// Get saved credentials.
    	cred := globalActiveCred
    
    	const mcQuickStartGuide = "https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart"
    
    	// Configure 'mc', following block prints platform specific information for minio client.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    			}
    			if err == nil {
    				*mc.meta = meta
    				if meta.status == scanStateError {
    					cancel()
    					exit = true
    				}
    			}
    			metaMu.Unlock()
    		}
    	}()
    
    	const retryDelay = 200 * time.Millisecond
    	const maxTries = 5
    
    	// Keep destination...
    	// Write results to disk.
    	bw := newMetacacheBlockWriter(entries, func(b *metacacheBlock) error {
    		// if the block is 0 bytes and its a first block skip it.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top