Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 478 for lena (0.03 sec)

  1. cmd/admin-handlers-idp-ldap.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	dnList := r.Form["userDNs"]
    	isAll := r.Form.Get("all") == "true"
    	selfOnly := !isAll && len(dnList) == 0
    
    	if isAll && len(dnList) > 0 {
    		// This should be checked on client side, so return generic error
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/erasure-coding.go

    // It returns an error if the decoding failed.
    func (e *Erasure) DecodeDataBlocks(data [][]byte) error {
    	isZero := 0
    	for _, b := range data {
    		if len(b) == 0 {
    			isZero++
    			break
    		}
    	}
    	if isZero == 0 || isZero == len(data) {
    		// If all are zero, payload is 0 bytes.
    		return nil
    	}
    	return e.encoder().ReconstructData(data)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. CONTRIBUTORS

    Doug Lea...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 14 12:11:40 UTC 2011
    - 9 bytes
    - Viewed (0)
  4. internal/grid/msg_string.go

    var _Op_index = [...]uint8{0, 7, 22, 26, 30, 40, 55, 74, 93, 105, 117, 130, 142, 148, 155, 163, 173, 179}
    
    func (i Op) String() string {
    	i -= 1
    	if i >= Op(len(_Op_index)-1) {
    		return "Op(" + strconv.FormatInt(int64(i+1), 10) + ")"
    	}
    	return _Op_name[_Op_index[i]:_Op_index[i+1]]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

    	}
    	return NewObjectReadSeekCloser(segmentReader, int64(len(b)))
    }
    
    type testResponseWriter struct {
    	statusCode int
    	response   []byte
    }
    
    func (w *testResponseWriter) Header() http.Header {
    	return nil
    }
    
    func (w *testResponseWriter) Write(p []byte) (int, error) {
    	w.response = append(w.response, p...)
    	return len(p), nil
    }
    
    func (w *testResponseWriter) WriteHeader(statusCode int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

         * @param b
         * @param off
         * @param len
         * @return number of bytes read
         * @throws IOException
         */
        public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
            int i = 0, n = -5;
    
            if ( off + len > b.length ) {
                throw new IOException("Buffer too short, bufsize " + b.length + " read " + len);
            }
    
            while ( i < len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. cmd/bucket-replication-stats.go

    	if r == nil {
    		return nil
    	}
    	peerBucketStatsList := globalNotificationSys.GetClusterAllBucketStats(GlobalContext)
    	bucketsReplicationStats = make(map[string]BucketStats, len(bucketsUsage))
    
    	for bucket := range bucketsUsage {
    		bucketStats := make([]BucketStats, len(peerBucketStatsList))
    		for i, peerBucketStats := range peerBucketStatsList {
    			bucketStat, ok := peerBucketStats.Stats[bucket]
    			if !ok {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. cmd/handler-api.go

    		return "strict"
    	}
    
    	return t.listQuorum
    }
    
    func (t *apiConfig) getCorsAllowOrigins() []string {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if len(t.corsAllowOrigins) == 0 {
    		return []string{"*"}
    	}
    
    	corsAllowOrigins := make([]string, len(t.corsAllowOrigins))
    	copy(corsAllowOrigins, t.corsAllowOrigins)
    	return corsAllowOrigins
    }
    
    func (t *apiConfig) getStaleUploadsCleanupInterval() time.Duration {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/FileUtil.java

            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        final char[] newBuf = new char[bufferSize + initialCapacity];
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/Base64Util.java

            outData[outIndex + 1] = (byte) (b1 << 4 & 0xf0 | b2 >> 2 & 0xf);
        }
    
        private static int getLastBytes(final String inData) {
            final int len = inData.length();
            if (inData.charAt(len - 2) == PAD) {
                return 1;
            } else if (inData.charAt(len - 1) == PAD) {
                return 2;
            } else {
                return 3;
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top