Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,811 for rint (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java

            this.path = directoryName;
            command = SMB_COM_DELETE_DIRECTORY;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/pager/RelatedQueryPager.java

        /**
         * Default current page number for pagination.
         */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /**
         * Total number of records in the result set.
         */
        private int allRecordCount;
    
        /**
         * Total number of pages available for pagination.
         */
        private int allPageCount;
    
        /**
         * Flag indicating whether a previous page exists.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        /**
         * init graph
         */
        private void init(int nVertices, int nEdges) {
            int nV = nVertices;
            if (nVertices < 1) {
                nV = 1;
            }
    
            checkVertices(nV);
    
            int nE = nVertices;
            if (nEdges <= nV) {
                nE = 2 * nE;
            }
    
            checkEdges(nE);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                return bytesWritten;
            }
    
            @Override
            protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                if (throwOnRead) {
                    throw new SMBProtocolDecodingException("Test exception");
                }
                return bytesRead;
            }
    
            public void setBytesWritten(int bytes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsPagingResultBean.java

            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
            this.totalShards = totalShards;
        }
    
        public int getSuccessfulShards() {
            return successfulShards;
        }
    
        public void setSuccessfulShards(int successfulShards) {
            this.successfulShards = successfulShards;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacDataInputStream.java

         * @param mask the alignment mask (typically 2, 4, or 8)
         * @throws IOException if an I/O error occurs
         */
        public void align(final int mask) throws IOException {
            final int position = this.size - this.dis.available();
            final int shift = position & mask - 1;
            if (mask != 0 && shift != 0) {
                this.dis.skip(mask - shift);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Set wordCount to non-zero
            setFieldValue(response, "wordCount", 10);
    
            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top