Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 157 for readArg (0.24 sec)

  1. pkg/kubelet/userns/userns_manager.go

    	m := UsernsManager{
    		used:   allocator.NewAllocationMap(len, "user namespaces"),
    		usedBy: make(map[types.UID]uint32),
    		kl:     kl,
    		off:    off,
    		len:    len,
    	}
    
    	// do not bother reading the list of pods if user namespaces are not enabled.
    	if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) {
    		return &m, nil
    	}
    
    	found, err := kl.ListPodsFromDisk()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/conntest.go

    // connections like "unixpacket".
    // We assume that the maximum packet size is at least 1024.
    func chunkedCopy(w io.Writer, r io.Reader) error {
    	b := make([]byte, 1024)
    	_, err := io.CopyBuffer(struct{ io.Writer }{w}, struct{ io.Reader }{r}, b)
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	Files        []string // Individual files to read.
    	MaxSize      int64    // Return error if size is exceed.
    	MetadataOnly bool     // Read as XL meta and truncate data.
    	AbortOn404   bool     // Stop reading after first file not found.
    	MaxResults   int      // Stop after this many successful results. <= 0 means all.
    }
    
    // ReadMultipleResp contains a single response from a ReadMultipleReq.
    type ReadMultipleResp struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. internal/config/config.go

    			return kv.Value, true
    		}
    	}
    	return "", false
    }
    
    // Config - MinIO server config structure.
    type Config map[string]map[string]KVS
    
    // DelFrom - deletes all keys in the input reader.
    func (c Config) DelFrom(r io.Reader) error {
    	scanner := bufio.NewScanner(r)
    	for scanner.Scan() {
    		// Skip any empty lines, or comment like characters
    		text := scanner.Text()
    		if text == "" || strings.HasPrefix(text, KvComment) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  5. src/crypto/tls/quic.go

    	waitingForDrain bool
    
    	// readbuf is shared between HandleData and the handshake goroutine.
    	// HandshakeCryptoData passes ownership to the handshake goroutine by
    	// reading from signalc, and reclaims ownership by reading from blockedc.
    	readbuf []byte
    
    	transportParams []byte // to send to the peer
    
    	enableStoreSessionEvent bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	status         int32
    
    	// Worker control
    	workers    int64
    	maxWorkers int64
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	data := r.Reader
    	// Validate input data size and it can never be less than zero.
    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return pi, toObjectErr(errInvalidArgument)
    	}
    
    	// Read lock for upload id.
    	// Only held while reading the upload metadata.
    	uploadIDRLock := er.NewNSLock(bucket, pathJoin(object, uploadID))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    	if len(wantTrailers) > 0 {
    		return io.ErrUnexpectedEOF
    	}
    	return nil
    }
    
    // readCRLF - check if reader only has '\r\n' CRLF character.
    // returns malformed encoding if it doesn't.
    func readCRLF(reader io.Reader) error {
    	buf := make([]byte, 2)
    	_, err := io.ReadFull(reader, buf[:2])
    	if err != nil {
    		return err
    	}
    	if buf[0] != '\r' || buf[1] != '\n' {
    		return errMalformedEncoding
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCall.kt

        public val indexArguments: List<KtExpression> by validityAsserted(indexArguments)
    
        /**
         * The `get` function that's invoked when reading values corresponding to the given [indexArguments].
         */
        public val getPartiallyAppliedSymbol: KaPartiallyAppliedFunctionSymbol<KaFunctionSymbol> by validityAsserted(getPartiallyAppliedSymbol)
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. pkg/volume/util/atomic_writer.go

    // under target directory.
    //
    // The Write algorithm is:
    //
    //  1. The payload is validated; if the payload is invalid, the function returns
    //
    //  2. The current timestamped directory is detected by reading the data directory
    //     symlink
    //
    //  3. The old version of the volume is walked to determine whether any
    //     portion of the payload was deleted and is still present on disk.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top