Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FITS (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Given
            byte[] buffer = new byte[512];
            int bodyStart = 0;
            int dataLength = 10;
            // Use a large but safe offset value that fits in signed byte range (120)
            int dataOffsetValue = 120;
    
            // Write structure
            SMBUtil.writeInt2(17, buffer, bodyStart);
            buffer[bodyStart + 2] = (byte) dataOffsetValue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

         *
         * @return byte array containing associated data
         */
        public byte[] getAssociatedData() {
            final byte[] aad = new byte[52]; // Use full header size to ensure all data fits
            int index = 0;
    
            // Protocol ID
            SMBUtil.writeInt4(TRANSFORM_PROTOCOL_ID, aad, index);
            index += 4;
    
            // Skip signature (16 bytes of zeros for AAD)
            index += 16;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
       * Returns 1 if {@code x < y} as unsigned longs, and 0 otherwise. Assumes that x - y fits into a
       * signed long. The implementation is branch-free, and benchmarks suggest it is measurably faster
       * than the straightforward ternary expression.
       */
      @VisibleForTesting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    	// Add leading zeros, but leave room for a NUL.
    	if n := len(b) - len(s) - 1; n > 0 {
    		s = strings.Repeat("0", n) + s
    	}
    	f.formatString(b, s)
    }
    
    // fitsInOctal reports whether the integer x fits in a field n-bytes long
    // using octal encoding with the appropriate NUL terminator.
    func fitsInOctal(n int, x int64) bool {
    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                        // don't have enough credits/space for the first request, block until available
                        // for space there is nothing we can do, callers need to make sure that a single message fits
    
                        try {
                            final long timeout = getResponseTimeout(chain);
                            if (params.contains(RequestParam.NO_TIMEOUT)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top