Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,918 for ints (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        private static final int FILE_NOTIFY_CHANGE_EA = 0x00000080;
        private static final int FILE_NOTIFY_CHANGE_SECURITY = 0x00000100;
        private static final int FILE_NOTIFY_CHANGE_STREAM_NAME = 0x00000200;
        private static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x00000400;
        private static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x00000800;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

      @SuppressWarnings("JdkObsolete")
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
        Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
        assertEquals("[yam, bam, jam, ham]", Iterators.toString(iterator));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/DES.java

            deskey(key, false, decryptKeys);
        }
    
        // Turn an 8-byte key into internal keys.
        private void deskey(final byte[] keyBlock, final boolean encrypting, final int[] KnL) {
    
            int i, j, l, m, n;
            final int[] pc1m = new int[56];
            final int[] pcr = new int[56];
            final int[] kn = new int[32];
    
            for (j = 0; j < 56; ++j) {
                l = pc1[j];
                m = l & 07;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 2);
            assertEquals(0x0101, actualInfoLevel);
    
            // Check reserved bytes (should be 0)
            int reserved = SMBUtil.readInt2(buffer, 4);
            assertEquals(0, reserved);
        }
    
        @DisplayName("Test writeParametersWireFormat with different FIDs")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_PENDING, NtStatus.NT_STATUS_ACCESS_DENIED,
                NtStatus.NT_STATUS_INVALID_PARAMETER })
        @DisplayName("Should handle various status codes")
        void testVariousStatusCodes(int status) {
            response.setStatusForTest(status);
            assertEquals(status, response.getErrorCode());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            @ValueSource(ints = { 0, 1, 2, 5, 10 })
            void testEncodeWithDifferentCipherCounts(int count) {
                int[] ciphers = new int[count];
                for (int i = 0; i < count; i++) {
                    ciphers[i] = i + 1;
                }
    
                context = new EncryptionNegotiateContext(mockConfig, ciphers);
                int encoded = context.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            Smb2LogoffRequest req = newRequest();
            int base = Smb2Constants.SMB2_HEADER_LENGTH + 4; // structure size
            int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment
    
            // Act
            int actual = req.size();
    
            // Assert
            assertEquals(expected, actual, "size() must be 8-byte aligned");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/EncdecTest.java

            assertEquals(0x56, buffer[2] & 0xFF);
            assertEquals(0x78, buffer[3] & 0xFF);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE })
        @DisplayName("Should handle boundary values")
        void testBoundaryValues(int value) {
            // Given
            byte[] buffer = new byte[4];
    
            // When
            Encdec.enc_uint32le(value, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/package-info.java

     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
     *         <li>{@link UnsignedBytes}
     *       </ul>
     *   <li>{@link Chars}
     *   <li>{@link Doubles}
     *   <li>{@link Floats}
     *   <li>{@link Ints}
     *       <ul>
     *         <li>{@link UnsignedInts}
     *       </ul>
     *   <li>{@link Longs}
     *       <ul>
     *         <li>{@link UnsignedLongs}
     *       </ul>
     *   <li>{@link Shorts}
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 15:30:05 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top