Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 739 for Hong (0.18 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      /** An OID string like "2.5.4.11" for organizationalUnitName. */
      val type: String,
      val value: Any?,
    )
    
    internal data class Validity(
      val notBefore: Long,
      val notAfter: Long,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + notBefore.toInt()
        result = 31 * result + notAfter.toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CountingInputStream.java

      private long count;
      private long mark = -1;
    
      /**
       * Wraps another input stream, counting the number of bytes read.
       *
       * @param in the input stream to be wrapped
       */
      public CountingInputStream(InputStream in) {
        super(checkNotNull(in));
      }
    
      /** Returns the number of bytes read. */
      public long getCount() {
        return count;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

    ) {
      /** The total number of bytes consumed. */
      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
      ) {
        check(total >= 0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        private static final Logger logger = LogManager.getLogger(IndexUpdateCallbackImpl.class);
    
        protected AtomicLong documentSize = new AtomicLong(0);
    
        protected volatile long executeTime = 0;
    
        protected final DocList docList = new DocList();
    
        protected long maxDocumentRequestSize;
    
        protected int maxDocumentCacheSize;
    
        private IngestFactory ingestFactory = null;
    
        @PostConstruct
        public void init() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsRoleType.java

        /** createdBy */
        protected String createdBy;
    
        /** createdTime */
        protected Long createdTime;
    
        /** name */
        protected String name;
    
        /** sortOrder */
        protected Integer sortOrder;
    
        /** updatedBy */
        protected String updatedBy;
    
        /** updatedTime */
        protected Long updatedTime;
    
        /** value */
        protected String value;
    
        // [Referrers] *comment only
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Primitives.java

       *     wrap(String.class) == String.class
       * </pre>
       */
      public static <T> Class<T> wrap(Class<T> type) {
        checkNotNull(type);
    
        // cast is safe: long.class and Long.class are both of type Class<Long>
        @SuppressWarnings("unchecked")
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type);
        return (wrapped == null) ? type : wrapped;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 05 19:04:25 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
      /** Write [byteCount] bytes from [source] to the file at [pos]. */
      @Throws(IOException::class)
      fun write(
        pos: Long,
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount < 0L || byteCount > source.size) {
          throw IndexOutOfBoundsException()
        }
        var mutablePos = pos
        var mutableByteCount = byteCount
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

       */
      public static SimpleTimeLimiter create(ExecutorService executor) {
        return new SimpleTimeLimiter(executor);
      }
    
      @Override
      public <T> T newProxy(
          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        }
      }
    
      /** A holder of counters for calls to hashCode, equals, and compareTo. */
      private static final class CallsCounter {
        long hashCode;
        long equals;
        long compareTo;
    
        long total() {
          return hashCode + equals + compareTo;
        }
    
        void zero() {
          hashCode = 0;
          equals = 0;
          compareTo = 0;
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

          suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false));
    
          // test a slice() of the ByteSource starting at a random offset with a length of
          // Long.MAX_VALUE
          ByteSourceFactory slicedLongMaxValue =
              SourceSinkFactories.asSlicedByteSourceFactory(factory, off, Long.MAX_VALUE);
          suite.addTest(
              suiteForBytes(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top