Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,732 for rint (0.01 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getLocalPort(): Int = delegate!!.localPort
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream = delegate!!.outputStream
    
      override fun getPort(): Int = delegate!!.port
    
      @Throws(SocketException::class)
      override fun getSoLinger(): Int = delegate!!.soLinger
    
      @Throws(SocketException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS2_STATUS32 = 0x4000;
        /** Unicode strings flag */
        int FLAGS2_UNICODE = 0x8000;
    
        /** No capabilities */
        int CAP_NONE = 0x0000;
        /** Raw mode capability */
        int CAP_RAW_MODE = 0x0001;
        /** MPX mode capability */
        int CAP_MPX_MODE = 0x0002;
        /** Unicode capability */
        int CAP_UNICODE = 0x0004;
        /** Large files capability */
        int CAP_LARGE_FILES = 0x0008;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int offset = 10;
    
            // Mark the buffer before offset
            for (int i = 0; i < offset; i++) {
                dst[i] = (byte) 0xFF;
            }
    
            int bytesWritten = packet.writeTrailerWireFormat(dst, offset);
    
            assertTrue(bytesWritten > 0);
            // Check that bytes before offset are unchanged
            for (int i = 0; i < offset; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

          }
        };
    
        abstract double factorialDouble(int n);
    
        abstract long binomialCoefficient(int n, int k);
    
        abstract int gcdInt(int a, int b);
    
        abstract long gcdLong(long a, long b);
    
        abstract boolean noAddOverflow(int a, int b);
    
        abstract boolean noAddOverflow(long a, long b);
    
        abstract boolean noMulOverflow(int a, int b);
    
        abstract boolean noMulOverflow(long a, long b);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        void testWriteSetupWireFormat() {
            // Given
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test");
            byte[] dst = new byte[10];
            int dstIndex = 0;
    
            // When
            int bytesWritten = trans2GetDfsReferral.writeSetupWireFormat(dst, dstIndex);
    
            // Then
            assertEquals(2, bytesWritten);
            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

        SmbComNegotiate() {
            command = SMB_COM_NEGOTIATE;
            flags2 = DEFAULT_FLAGS2;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes("ASCII");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

      }
    
      @Benchmark
      void longEqualJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/Base64.java

            final int length = string.length();
            if (length == 0) {
                return new byte[0];
            }
            final int pad = string.charAt(length - 2) == '=' ? 2 : string.charAt(length - 1) == '=' ? 1 : 0;
            final int size = length * 3 / 4 - pad;
            final byte[] buffer = new byte[size];
            int block;
            int i = 0;
            int index = 0;
            while (i < length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

         * @param length number of bytes to read
         * @return number of bytes actually read
         * @throws IOException if read operation fails
         */
        public abstract int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException;
    
        /**
         * Write data to RDMA connection
         *
         * @param buffer buffer containing data to write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top