Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2861 - 2870 of 6,679 for four (0.02 sec)

  1. android/guava/src/com/google/common/base/Defaults.java

      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings("unchecked")
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Preconditions}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @NullMarked
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Preconditions}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @NullMarked
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

    /**
     * Unit test for {@link CaseFormat}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @NullUnmarked
    public class CaseFormatTest extends TestCase {
    
      public void testIdentity() {
        for (CaseFormat from : CaseFormat.values()) {
          assertWithMessage("%s to %s", from, from).that(from.to(from, "foo")).isSameInstanceAs("foo");
          for (CaseFormat to : CaseFormat.values()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

          sink.writeByte(0b1000_0000 or lengthByteCount)
          for (shift in (lengthByteCount - 1) * 8 downTo 0 step 8) {
            sink.writeByte((length shr shift).toInt())
          }
        }
    
        // Write the payload.
        sink.writeAll(content)
      }
    
      /**
       * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no
       * longer usable by the current type's members.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

        /**
         * Log level constant for debug messages.
         */
        public static final String DEBUG = "DEBUG";
    
        /**
         * Log level constant for info messages.
         */
        public static final String INFO = "INFO";
    
        /**
         * Log level constant for warning messages.
         */
        public static final String WARN = "WARN";
    
        /**
         * Log level constant for error messages.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
        for (int i : stripes) {
          locks.add(striped.getAt(i));
        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        /** The encoding for the output. */
        protected String outputEncoding = Constants.UTF_8;
    
        /** The extension for the output file. */
        protected String outputExtension = null;
    
        /** The temporary directory for input/output files. */
        protected File tempDir = null;
    
        /** The command to execute. */
        protected String command;
    
        /** The timeout for command execution in milliseconds. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

     *
     * @author shinsuke
     *
     */
    public class OpenSearchUrlQueueService extends AbstractCrawlerService implements UrlQueueService<OpenSearchUrlQueue> {
        /**
         * Logger instance.
         */
        private static final Logger logger = LogManager.getLogger(OpenSearchUrlQueueService.class);
    
        /**
         * Data service for checking access results.
         */
        @Resource
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  10. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(1024);
          nonzero1[i] = randomNonZeroBigInteger(1024);
          nonzero2[i] = randomNonZeroBigInteger(1024);
        }
      }
    
      @Benchmark
      int log2(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top