Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 455 for adding (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testBase64LenientPadding() {
        testDecodes(base64(), "Zg", "f");
        testDecodes(base64(), "Zg=", "f");
        testDecodes(base64(), "Zg==", "f"); // proper padding length
        testDecodes(base64(), "Zg===", "f");
        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

            buf.readOctetArray(wideBytes, 0, byteCount);
    
            // Skip null terminator
            buf.dec_ndr_short();
    
            // Skip padding
            int padding = (4 - ((byteCount + 2) % 4)) % 4;
            for (int i = 0; i < padding; i++) {
                buf.dec_ndr_small();
            }
    
            return new String(wideBytes, StandardCharsets.UTF_16LE);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static int[] ensureCapacity(int[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            }
    
            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        writeMedium(frame, dataLength + paddingLength + 1)
        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_PADDED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(expectedData)
        frame.write(padding)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

         */
        public void setEpoch(int epoch) {
            this.epoch = epoch;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("RqL2")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 52 bytes (lease V2 structure)
            return 16 + 4 + 4 + 52;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. cmd/admin-handler-utils.go

    			return nil, cred
    		}
    	}
    	writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    	return nil, auth.Credentials{}
    }
    
    // AdminError - is a generic error for all admin APIs.
    type AdminError struct {
    	Code       string
    	Message    string
    	StatusCode int
    }
    
    func (ae AdminError) Error() string {
    	return ae.Message
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, usageInfoJSON)
    }
    
    // InfoCannedPolicy - GET /minio/admin/v3/info-canned-policy?name={policyName}
    //
    // Newer API response with policy timestamps is returned with query parameter
    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 };
            for (int pos : positions) {
                int padding = (int) pad8Method.invoke(req, pos);
    
                // Verify padding makes position 8-byte aligned
                assertEquals(0, (pos + padding) % 8);
            }
        }
    
        @Test
        @DisplayName("Should write bytes at different buffer offsets")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/main/webapp/css/admin/adminlte.min.css

    -2,.px-2{padding-right:.5rem!important}.pb-2,.py-2{padding-bottom:.5rem!important}.pl-2,.px-2{padding-left:.5rem!important}.p-3{padding:1rem!important}.pt-3,.py-3{padding-top:1rem!important}.pr-3,.px-3{padding-right:1rem!important}.pb-3,.py-3{padding-bottom:1rem!important}.pl-3,.px-3{padding-left:1rem!important}.p-4{padding:1.5rem!important}.pt-4,.py-4{padding-top:1.5rem!important}.pr-4,.px-4{padding-right:1.5rem!important}.pb-4,.py-4{padding-bottom:1.5rem!important}.pl-4,.px-4{padding-left:1.5r...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 1.3M bytes
    - Viewed (0)
Back to top