Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 943 for olen (0.14 sec)

  1. guava/src/com/google/common/hash/PrimitiveSink.java

       * {@code bytes[off + len - 1]} is the last.
       *
       * @param bytes a byte array
       * @param off the start offset in the array
       * @param len the number of bytes to write
       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    		VersioningEnabled: true,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	names := make([]ObjectToDelete, len(testCases))
    	for i, testCase := range testCases {
    		objInfo, err := obj.PutObject(ctx, testCase.bucket, testCase.object,
    			mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), ObjectOptions{
    				Versioned: true,
    			})
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    	if defaultParityCount == 0 {
    		return len(partsMetaData), len(partsMetaData), nil
    	}
    
    	parities := listObjectParities(partsMetaData, errs)
    	parityBlocks := commonParity(parities, defaultParityCount)
    	if parityBlocks < 0 {
    		return -1, -1, InsufficientReadQuorum{Err: errErasureReadQuorum, Type: RQInsufficientOnlineDrives}
    	}
    
    	dataBlocks := len(partsMetaData) - parityBlocks
    
    	writeQuorum := dataBlocks
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CountingOutputStream.java

      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        out.write(b, off, len);
        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            this.length = SMBUtil.readInt4(buffer, bufferIndex);
            return 4;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            command = SMB_COM_WRITE;
        }
    
        void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. docs/debugging/inspect/main.go

    		outputFileName = strings.Replace(inputFileName, ".enc.", ".", 1) + ".zip"
    	default:
    		outputFileName = inputFileName + ".decrypted"
    	}
    
    	// Open the input and create the output file
    	input, err := os.Open(inputFileName)
    	fatalErr(err)
    	defer input.Close()
    
    	// Decrypt the inspect data
    	switch {
    	case *keyHex != "":
    		// Backup any already existing output file
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-openid.go

    		return
    	}
    
    	userList := r.Form["users"]
    	isAll := r.Form.Get("all") == "true"
    	selfOnly := !isAll && len(userList) == 0
    	cfgName := r.Form.Get("configName")
    	allConfigs := r.Form.Get("allConfigs") == "true"
    	if cfgName == "" && !allConfigs {
    		cfgName = madmin.Default
    	}
    
    	if isAll && len(userList) > 0 {
    		// This should be checked on client side, so return generic error
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers-pools.go

    	if globalEndpoints.Legacy() {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok || len(z.serverPools) == 1 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	if z.IsDecommissionRunning() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        @DisplayName("Lifecycle and exception mapping")
        class LifecycleAndExceptions {
    
            @Test
            @DisplayName("open() acquires handle and closes it")
            void openDelegatesEnsureOpenAndCloses() throws Exception {
                SmbFileInputStream in = newStream();
                in.open();
                // ensureOpen returns acquired handle; try-with-resources must close it
                verify(mockHandle, times(1)).close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top