Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 576 for 50 (0.01 seconds)

  1. android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

      private static final int[] ints = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          exponent[i] = randomExponent();
          factorial[i] = RANDOM_SOURCE.nextInt(50);
          binomial[i] = RANDOM_SOURCE.nextInt(factorial[i] + 1);
          positive[i] = randomPositiveBigInteger(Integer.SIZE - 1).intValue();
          nonnegative[i] = randomNonNegativeBigInteger(Integer.SIZE - 1).intValue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            byte[] fullBuffer = createTestData(256);
    
            // When
            int emptyRead = request.readBytesWireFormat(emptyBuffer, 0);
            int fullRead = request.readBytesWireFormat(fullBuffer, 50);
    
            // Then - always returns 0 as this is a request, not response
            assertEquals(0, emptyRead);
            assertEquals(0, fullRead);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = HashMultiset.create(50);
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateFromIterable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(1, length);
        }
    
        @Test
        void writeScopeWireFormat_withScope_shouldWriteEncodedScope() {
            Name name = new Name(mockConfig, "TEST", 0x20, "test.com");
            byte[] dst = new byte[50];
    
            int length = name.writeScopeWireFormat(dst, 0);
    
            // After processing, should start with length byte for "test" (4)
            assertEquals(4, dst[0]);
    
            // Should end with 0x00
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            final String result = chatClient.testBuildAssistantHistoryContent(msg, "smart_summary", 200, 200);
            // maxSuffixLen = 200/4 = 50, suffix is truncated to 50 chars
            assertNotNull(result);
            // The suffix portion should not exceed maxSuffixLen
            assertTrue(result.length() <= 250, "result length " + result.length() + " exceeds reasonable bound");
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  6. tests/associations_belongs_to_test.go

    }
    
    func TestBelongsToAssociationUnscoped(t *testing.T) {
    	type ItemParent struct {
    		gorm.Model
    		Logo string `gorm:"not null;type:varchar(50)"`
    	}
    	type ItemChild struct {
    		gorm.Model
    		Name         string `gorm:"type:varchar(50)"`
    		ItemParentID uint
    		ItemParent   ItemParent
    	}
    
    	tx := DB.Session(&gorm.Session{})
    	tx.Migrator().DropTable(&ItemParent{}, &ItemChild{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            };
    
            FileListIndexUpdateCallbackImpl callback = new FileListIndexUpdateCallbackImpl(mockCallback, null, 1);
    
            // Pre-populate
            synchronized (mockCallback) {
                for (int i = 0; i < 50; i++) {
                    callback.deleteUrlList.add("http://example.com/doc" + i);
                }
            }
    
            final int threadCount = 5;
            final Thread[] threads = new Thread[threadCount];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            }
            fail("could not start job.");
        }
    
        protected static void waitJob(final String namePrefix) {
            Boolean isRunning = false;
            int count = 0;
            long sleepTime = 50; // Start with 50ms
    
            // Wait until the crawler starts (with exponential backoff)
            while (count < 1500 && !isRunning) {
                ThreadUtil.sleep(sleepTime);
                count++;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        ExecutorService executor = newFixedThreadPool(barrier.getParties());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  10. docs/features/caching.md

          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
Back to Top