Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 3,507 for int (0.01 sec)

  1. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

        for (int i = 0; i < segment.threshold; i++) {
          cache.put(new Object(), new Object());
        }
        checkState(segment.table.length() == capacity);
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        AtomicReferenceArray<ReferenceEntry<Object, Object>> oldTable = segment.table;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ModifierUtil.java

        public static boolean isPublicStaticFinal(final int modifier) {
            return isPublic(modifier) && isStatic(modifier) && isFinal(modifier);
        }
    
        /**
         * Checks if the specified modifier is public.
         *
         * @param modifier
         *            the modifier to check
         * @return true if public, false otherwise
         */
        public static boolean isPublic(final int modifier) {
            return Modifier.isPublic(modifier);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            String shareName = "SHARE1";
            int shareType = 0x00000000; // Disk share
            String remark = "Test share";
    
            // Calculate buffer size
            int shareNameSize = 14; // 13 bytes + null terminator (fixed field)
            int typeSize = 2;
            int offsetSize = 4;
            int remarkSize = remark.length() + 1;
            int totalSize = shareNameSize + typeSize + offsetSize + remarkSize;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

                return 0;
            }
    
            @Override
            int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
    
            @Override
            int readDataWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            return tempFile;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.io.InputStream#read()
         */
        @Override
        public int read() throws IOException {
            return fileInputStream.read();
        }
    
        @Override
        public int available() throws IOException {
            return fileInputStream.available();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/FileNotifyInformation.java

         */
        int FILE_ACTION_REMOVED = 0x00000002;
        /**
         * File has been modified
         */
        int FILE_ACTION_MODIFIED = 0x00000003;
    
        /**
         * File has been renamed (old name)
         */
        int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
    
        /**
         * File has been renamed (new name)
         */
        int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      private final int hostLimit;
    
      public Crawler(OkHttpClient client, int queueLimit, int hostLimit) {
        this.client = client;
        this.queue = new LinkedBlockingQueue<>(queueLimit);
        this.hostLimit = hostLimit;
      }
    
      private void parallelDrainQueue(int threadCount) {
        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            // When
            for (int t = 0; t < threadCount; t++) {
                final int threadId = t;
                executor.submit(() -> {
                    try {
                        for (int i = 0; i < noncesPerThread; i++) {
                            byte[] nonce = encryptionContext.generateNonce();
                            String nonceHex = bytesToHex(nonce);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateRequest.java

     * protocol version and connection parameters.
     */
    public class RdmaNegotiateRequest {
    
        private int minVersion;
        private int maxVersion;
        private int creditsRequested;
        private int preferredSendSize;
        private int maxReceiveSize;
        private int maxFragmentedSize;
    
        /**
         * Create new RDMA negotiation request
         */
        public RdmaNegotiateRequest() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top