Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,730 for uint (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/QueuesTest.java

      }
    
      private static <T> int drain(
          BlockingQueue<T> q,
          Collection<? super T> buffer,
          int maxElements,
          long timeout,
          TimeUnit unit,
          boolean interruptibly)
          throws InterruptedException {
        return interruptibly
            ? Queues.drain(q, buffer, maxElements, timeout, unit)
            : Queues.drainUninterruptibly(q, buffer, maxElements, timeout, unit);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingTest.java

        int last = 0;
        for (int shards = 2; shards <= MAX_SHARDS; shards++) {
          int chosen = Hashing.consistentHash(h, shards);
          if (chosen != last) {
            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          )
      }
    
      return SimpleIdnaMappingTable(result)
    }
    
    internal data class Mapping(
      val sourceCodePoint0: Int,
      val sourceCodePoint1: Int,
      val type: Int,
      val mappedTo: ByteString,
    ) {
      val section: Int
        get() = sourceCodePoint0 and 0x1fff80
    
      val rangeStart: Int
        get() = sourceCodePoint0 and 0x7f
    
      val hasSingleSourceCodePoint: Boolean
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    type LRU[K comparable, V any] struct {
    	size      int
    	evictList *LruList[K, V]
    	items     map[K]*Entry[K, V]
    	onEvict   EvictCallback[K, V]
    
    	// expirable options
    	mu   sync.Mutex
    	ttl  time.Duration
    	done chan struct{}
    
    	// buckets for expiration
    	buckets []bucket[K, V]
    	// uint8 because it's number between 0 and numBuckets
    	nextCleanupBucket uint8
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.app.web.RootAction;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class UserRoleLoginExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with RootAction class
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.validation.ConstraintValidatorContext;
    
    public class CronExpressionValidatorTest extends UnitFessTestCase {
    
        public CronExpressionValidator validator;
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/api/BaseApiManagerTest.java

            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/processor/FessResponseProcessorTest.java

            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
            assertTrue(str.endsWith("o"));
            assertEquals(5, str.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top