Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 2,819 for uint (0.02 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        @Test
        public void testPerformance() throws Exception {
            for (int j = 0; j < 3; ++j) {
                final int num = 100000;
                final Map<String, String> hmap = new HashMap<String, String>();
                final Map<String, String> cimap = new CaseInsensitiveMap<String>();
    
                long start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    hmap.put("a" + String.valueOf(i), null);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void sortMethods(Method[] methods) {
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method m1, Method m2) {
                int nameComparison = m1.getName().compareTo(m2.getName());
                if (nameComparison != 0) {
                  return nameComparison;
                } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            // Sequence: 'a','b','\r','\n','c','\n'
            when(raf.read()).thenReturn((int) 'a', (int) 'b', (int) '\r', (int) '\n');
            assertEquals("ab", raf.readLine());
    
            when(raf.read()).thenReturn((int) 'c', (int) '\n');
            assertEquals("c", raf.readLine());
    
            when(raf.read()).thenReturn(-1);
            assertNull(raf.readLine());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            factory.setComponentName("testComponent");
    
            final int threadCount = 10;
            final int objectsPerThread = 10;
            final List<TestComponent> createdComponents = new ArrayList<>();
            final List<Exception> exceptions = new ArrayList<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
                threads[i] = new Thread(new Runnable() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            for (int toRemove = 0; toRemove < 10; toRemove++) {
              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Given
            int messageSize = 1024;
    
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
            // Then
            assertEquals(messageSize, transformHeader.getOriginalMessageSize());
        }
    
        @Test
        @DisplayName("Should set and get flags")
        void testFlags() {
            // Given
            int flags = 0x0001; // Encrypted flag
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbOperationException.java

                    return false;
                }
    
                return true;
            }
    
            public long getDelayMs(int attemptNumber) {
                if (!exponentialBackoff) {
                    return initialDelayMs;
                }
    
                long delay = initialDelayMs;
                for (int i = 1; i < attemptNumber; i++) {
                    delay = (long) (delay * backoffMultiplier);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int,
      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
       * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache.
       */
      @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int,
      val isPrivate: Boolean,
      val isPublic: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransportPool.java

         * @param exclusive
         *            whether to acquire an unshared connection
         * @return a transport connection to the target
         */
        SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName,
                boolean exclusive);
    
        /**
         * Gets or creates an SMB transport for the given context.
         *
         * @param tc
         *            context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /** The number of threads used by the crawler */
        protected int numOfThread = 10;
    
        /** The maximum number of times to check for active threads. */
        protected int maxThreadCheckCount = 20;
    
        /** The maximum depth for crawling. A value of -1 indicates no depth check. */
        protected int maxDepth = -1;
    
        /** The maximum number of URLs to access. A value of 0 indicates no limit. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top