Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 481 for adding (0.04 sec)

  1. src/test/java/jcifs/smb1/util/Base64Test.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link Base64}.
     *
     * These tests cover the public static encode/decode methods for different
     * payload sizes, padding rules, and error conditions such as null and empty
     * input.
     */
    @ExtendWith(MockitoExtension.class)
    class Base64Test {
    
        /**
         * Data provider for various byte arrays and the expected Base64 string.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Check name length
            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8));
    
            // Check timeout specified flag (should be 0)
            assertEquals(0x0, buffer[12]);
    
            // Check padding
            assertEquals(0x0, buffer[13]);
    
            // Check name bytes
            byte[] encodedName = new byte[nameBytes.length];
            System.arraycopy(buffer, 14, encodedName, 0, nameBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. 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)
  6. CODE_OF_CONDUCT.md

    
    ## Conflict Resolution
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Feb 05 18:43:16 UTC 2021
    - 5.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. 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)
  9. 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)
  10. 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)
Back to top