Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 859 for 1bytes (0.09 sec)

  1. src/main/java/jcifs/pac/PacMac.java

         * @return the calculated MAC bytes (truncated to 12 bytes)
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException {
            byte[] cst = { (byte) (usage >> 24 & 0xFF), (byte) (usage >> 16 & 0xFF), (byte) (usage >> 8 & 0xFF), (byte) (usage & 0xFF),
                    (byte) 0x99 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EncodableTest.java

            );
        }
    
        // Creates a deterministic byte sequence [0,1,2,...,n-1]
        private static byte[] makeSeq(int n) {
            byte[] a = new byte[n];
            for (int i = 0; i < n; i++) {
                a[i] = (byte) i;
            }
            return a;
        }
    
        @ParameterizedTest
        @MethodSource("byteEncodableArgs")
        @DisplayName("encode() copies bytes correctly and returns size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            String name = "TEST            ";
            System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 13, 16);
            src[srcIndex + 28] = 0x00; // hex code
            src[srcIndex + 29] = 0x04; // flags
            // MAC address (6 bytes)
            byte[] mac = new byte[6];
            System.arraycopy(mac, 0, src, srcIndex + 31, 6);
            // Stats (6 bytes)
            byte[] stats = new byte[6];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

        /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */
        const val HEADER_TABLE_SIZE = 1
    
        /** HTTP/2: The peer must not send a PUSH_PROMISE frame when this is 0. */
        const val ENABLE_PUSH = 2
    
        /** Sender's maximum number of concurrent streams. */
        const val MAX_CONCURRENT_STREAMS = 3
    
        /** Window size in bytes. */
        const val INITIAL_WINDOW_SIZE = 4
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

        }
    
        /**
         * Gets the number of bytes written.
         *
         * @return the count of bytes written
         */
        public final long getCount() {
            return this.count;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            byte[] buffer = new byte[256];
            Arrays.fill(buffer, (byte) 0xCC); // Fill with pattern to detect unwritten areas
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            // Verify structure according to SMB2 FLUSH specification
            // Structure Size (2 bytes) - should be 24
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Create buffer with exact decode size
            byte[] tempBuffer = new byte[50];
            original.encode(tempBuffer, 0);
    
            // Copy only the first 36 bytes (what decode reads)
            byte[] buffer = new byte[36];
            System.arraycopy(tempBuffer, 0, buffer, 0, 36);
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      }
    
      /** Convenience method to compute a fingerprint on a full bytes array. */
      private static long fingerprint(byte[] bytes) {
        return fingerprint(bytes, bytes.length);
      }
    
      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. cmd/metrics-v2_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgMetricDescription(b *testing.B) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. cmd/metrics-v3-bucket-replication.go

    		"Total number of bytes failed at least once to replicate in the last hour on a bucket",
    		bucketL, targetArnL)
    	bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount,
    		"Total number of objects which failed replication in the last hour on a bucket",
    		bucketL, targetArnL)
    	bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 04 20:45:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top