Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 2,732 for rint (0.01 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            }
    
            @Test
            @DisplayName("Package constructor should initialize with binding and handle")
            void testPackageConstructor() throws Exception {
                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
                when(mockHandle.getMaxRecv()).thenReturn(maxRecv);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure()
        val callTimeoutMillis: Int = client.callTimeoutMillis()
        val connectTimeoutMillis: Int = client.connectTimeoutMillis()
        val readTimeoutMillis: Int = client.readTimeoutMillis()
        val writeTimeoutMillis: Int = client.writeTimeoutMillis()
        val pingIntervalMillis: Int = client.pingIntervalMillis()
      }
    
      @Test @Disabled
      fun pushPromise() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            return 2;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        }
    
        /**
         * Constant-time array copy to prevent timing attacks
         */
        private void constantTimeCopy(byte[] src, int srcPos, byte[] dest, int destPos, int length) {
            // Simple constant-time copy - always process all bytes
            for (int i = 0; i < length; i++) {
                dest[destPos + i] = src[srcPos + i];
            }
        }
    
        /**
         * Decrypt an SMB2 message
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

        }
        final class Splitr extends MapWithIndexSpliterator<Spliterator.OfInt, R, Splitr>
            implements IntConsumer {
          int holder;
    
          Splitr(Spliterator.OfInt splitr, long index) {
            super(splitr, index);
          }
    
          @Override
          public void accept(int t) {
            this.holder = t;
          }
    
          @Override
          public boolean tryAdvance(Consumer<? super R> action) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

         */
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws IOException {
            final int start = bufferIndex;
    
            bufferIndex++; // revision
            bufferIndex++;
            type = ServerMessageBlock.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            final int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.replaceIfExists = buffer[bufferIndex] != 0;
            bufferIndex += 8;
            bufferIndex += 8;
    
            final int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

            new ImmutableClassToInstanceMap.Builder<Number>()
                .put(Integer.class, 0)
                .put(int.class, 1)
                .build();
        assertEquals(2, ictim.size());
    
        assertEquals(0, (int) ictim.getInstance(Integer.class));
        assertEquals(1, (int) ictim.getInstance(int.class));
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    class DcerpcExceptionTest {
    
        /**
         * Test constructor DcerpcException(int error) with a known error code.
         */
        @Test
        void testConstructorWithError_knownCode() {
            int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED;
            DcerpcException exception = new DcerpcException(errorCode);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("Should return consistent port value")
            void testPortConsistency() {
                // When
                int port1 = handler.getDefaultPort();
                int port2 = handler.getDefaultPort();
                int port3 = handler.getDefaultPort();
    
                // Then
                assertEquals(port1, port2);
                assertEquals(port2, port3);
                assertEquals(443, port1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top