Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 3,128 for rint (0.02 seconds)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

        }
    
        // Helper methods to write numbers to byte array in little-endian format.
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex++] = (byte) val;
            dst[dstIndex++] = (byte) (val >> 8);
        }
    
        private void writeInt4(int val, byte[] dst, int dstIndex) {
            dst[dstIndex++] = (byte) val;
            dst[dstIndex++] = (byte) (val >> 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/PacSignatureTest.java

            // Prepare data
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            int defaultType = 99;
            writeLittleEndianInt(baos, defaultType);
            byte[] checksum = new byte[10]; // Arbitrary length
            for (int i = 0; i < checksum.length; i++) {
                checksum[i] = (byte) i;
            }
            baos.write(checksum);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

         */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /**
         * Default current page number (1-based).
         */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /**
         * The total number of records across all pages.
         */
        private int allRecordCount;
    
        /**
         * The total number of pages available.
         */
        private int allPageCount;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

        /** Default number of records per page. */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /** Default current page number. */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /** Total number of records across all pages. */
        private int allRecordCount;
    
        /** Total number of pages. */
        private int allPageCount;
    
        /** Flag indicating whether a previous page exists. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
      int iteration(int reps) {
        int x = 0;
    
        for (int i = 0; i < reps; i++) {
          for (Element y : setToTest) {
            x ^= System.identityHashCode(y);
          }
        }
        return x;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/TestWriter.java

      }
    
      @Override
      public void write(int c) throws IOException {
        super.write(c);
        flush(); // flush write to TestOutputStream to get its behavior
      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/IndexedImmutableSet.java

    @GwtCompatible
    abstract class IndexedImmutableSet<E> extends ImmutableSet<E> {
      abstract E get(int index);
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      @GwtIncompatible
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return asList().copyIntoArray(dst, offset);
      }
    
      @Override
      ImmutableList<E> createAsList() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

            this.type = SESSION_RETARGET_RESPONSE;
            this.length = 6;
        }
    
        @Override
        int writeTrailerWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, this.length) != this.length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

        SessionRetargetResponsePacket() {
            type = SESSION_RETARGET_RESPONSE;
            length = 6;
        }
    
        @Override
        int writeTrailerWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        }
    
        @Test
        void testNegativeSidWrapsCorrectly() {
            // -1 == 0xFFFF
            int negativeSid = -1;
            SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid);
            byte[] dst = new byte[2];
            int written = neg.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top