Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,507 for int (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

        }
      }
    
      @Benchmark
      int arrayIndexed(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < size; index++) {
            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayIndexedLength(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < array.length; index++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        void encodeDecodeRoundTrip(int original) throws Exception {
            // The constructor masks to 0xFF (8 bits)
            int expected = original & 0xFF;
            NdrShort ns = new NdrShort(original);
            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
            int bytesUsed = buf.getIndex();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            default:
                throw new CIFSException("Unknown compression algorithm: " + algorithm);
            }
        }
    
        @Override
        public int decompress(byte[] compressedData, int offset, int length, byte[] outputBuffer, int outputOffset, int algorithm)
                throws CIFSException {
            byte[] decompressed = decompress(compressedData, offset, length, algorithm);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

      private static int lastIndexOf(int[] array, int target, int start, int end) {
        for (int i = end - 1; i >= start; i--) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code int} values
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final FessTimeResourceProvider[] providers = new FessTimeResourceProvider[threadCount];
            final Exception[] exceptions = new Exception[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private final SmbFile file;
        private final boolean append, useNTSmbs;
        private int openFlags;
        private final int access;
        private final int writeSize;
        private long fp;
        private byte[] tmp = new byte[1];
        private SmbComWriteAndX reqx;
        private SmbComWriteAndXResponse rspx;
        private SmbComWrite req;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data with maximum int values
            byte[] buffer = new byte[22];
            int idFileSystem = Integer.MAX_VALUE;
            int sectPerAlloc = 100;
            int alloc = Integer.MAX_VALUE / 200;
            int free = Integer.MAX_VALUE / 200;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                throw new ServletException("Test error");
            }
        }
    
        private static class StatusCodeWebApiManager implements WebApiManager {
            private final int statusCode;
    
            public StatusCodeWebApiManager(int statusCode) {
                this.statusCode = statusCode;
            }
    
            @Override
            public boolean matches(HttpServletRequest request) {
                return true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

        // information levels
    
        static final int SMB_INFO_STANDARD = 1;
        static final int SMB_INFO_QUERY_EA_SIZE = 2;
        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
        static final int SMB_FIND_FILE_DIRECTORY_INFO = 0x101;
        static final int SMB_FIND_FILE_FULL_DIRECTORY_INFO = 0x102;
        static final int SMB_FILE_NAMES_INFO = 0x103;
        static final int SMB_FILE_BOTH_DIRECTORY_INFO = 0x104;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         */
    
        private static final NameServiceClient CLIENT = new NameServiceClient();
    
        private static final int DEFAULT_CACHE_POLICY = 30;
        private static final int CACHE_POLICY = Config.getInt("jcifs.smb1.netbios.cachePolicy", DEFAULT_CACHE_POLICY);
        private static final int FOREVER = -1;
        private static int nbnsIndex = 0;
    
        private static final HashMap ADDRESS_CACHE = new HashMap();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top