Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 3,312 for inst (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        @ValueSource(ints = { 1024, 2048, 4096, 8192, 16384, 32768, 65535 })
        void testMaxDataCountValues(int maxDataCount) throws Exception {
            netShareEnum = new NetShareEnum(realConfig);
    
            // Set maxDataCount using reflection
            setFieldValue(netShareEnum, "maxDataCount", maxDataCount);
    
            byte[] dst = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
            array = Arrays.copyOf(array, expandedCapacity(array.length, newCount));
          }
        }
    
        // Unfortunately this is pasted from ImmutableCollection.Builder.
        private static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // Add ACEs
            int aceOffset = offset + 28; // After DACL header
            for (int i = 0; i < aceCount; i++) {
                prepareSimpleAce(buffer, aceOffset);
                aceOffset += 32; // Simple ACE size
            }
        }
    
        private void prepareSecurityDescriptorBufferWithInvalidAceCount(byte[] buffer, int offset) {
            buffer[offset] = 0x01; // revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

        IntegerDomain() {
          super(true);
        }
    
        @Override
        public @Nullable Integer next(Integer value) {
          int i = value;
          return (i == Integer.MAX_VALUE) ? null : i + 1;
        }
    
        @Override
        public @Nullable Integer previous(Integer value) {
          int i = value;
          return (i == Integer.MIN_VALUE) ? null : i - 1;
        }
    
        @Override
        Integer offset(Integer origin, long distance) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

        public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001;
        
        // Default RDMA settings
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576;  // 1MB
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
        public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192;
        public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072;    // 128KB
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Should handle various element counts")
        @ValueSource(ints = { 1, 2, 5, 10, 20, 50, 100 })
        void testJoinWithVariousElementCounts(int count) {
            CharSequence[] elements = new CharSequence[count];
            for (int i = 0; i < count; i++) {
                elements[i] = String.valueOf(i);
            }
            String result = StringUtil.join(",", elements);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            }
    
            // Test size calculation
            int size = request.size();
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 64;
            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
    
            // Test wire format writing
            byte[] buffer = new byte[512];
            int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        private static class TestSessionServicePacket extends SessionServicePacket {
            int trailerLength = 10; // Default trailer length for testing
            int trailerBytesRead = 0;
    
            @Override
            int writeTrailerWireFormat(byte[] dst, int dstIndex) {
                // Simple mock implementation
                for (int i = 0; i < trailerLength && dstIndex + i < dst.length; i++) {
                    dst[dstIndex + i] = (byte) i;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.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
    - 29.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/FloatsTest.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
    - 29.4K bytes
    - Viewed (0)
Back to top