Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 529 for mime (0.15 sec)

  1. src/main/java/jcifs/smb1/util/MimeMap.java

            InputStream is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/util/mime.map" );
    
            inLen = 0;
            while(( n = is.read( in, inLen, IN_SIZE - inLen )) != -1 ) {
                inLen += n;
            }
            if( inLen < 100 || inLen == IN_SIZE ) {
                throw new IOException( "Error reading jcifs/smb1/util/mime.map resource" );
            }
            is.close();
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

    import java.io.InputStream;
    import java.net.URLConnection;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    
    /**
     * Mimeタイプ用のユーティリティクラスです。
     *
     * @author shot
     */
    public abstract class MimeTypeUtil {
    
        /**
         * コンテントタイプを予想します。
         *
         * @param path
         *            パス。{@literal null}や空文字列であってはいけません
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

       * Format</a> ({@code crw} files), a widely-used "raw image" format for cameras. It is found in
       * {@code /etc/mime.types}, e.g. in <a href=
       * "http://anonscm.debian.org/gitweb/?p=collab-maint/mime-support.git;a=blob;f=mime.types;hb=HEAD"
       * >Debian 3.48-1</a>.
       *
       * @since 15.0
       */
      public static final MediaType CRW = createConstant(IMAGE_TYPE, "x-canon-crw");
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

            CacheBuilder.newBuilder()
                .expireAfterAccess(EXPIRING_TIME, MILLISECONDS)
                .expireAfterWrite(EXPIRING_TIME, MILLISECONDS)
                .removalListener(removalListener)
                .ticker(ticker)
                .build(loader);
        runRemovalScheduler(cache, removalListener, loader, ticker, KEY_PREFIX, EXPIRING_TIME);
      }
    
      public void testExpirationOrder_access() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    
    /**
     * Tests of basic {@link LoadingCache} operations with all possible combinations of key & value
     * strengths.
     *
     * @author mike nonemacher
     */
    public class CacheReferencesTest extends TestCase {
    
      private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER =
          new CacheLoader<Key, String>() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a
     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * target} object, enforcing the specified time limit on each call. This time-limited delegation
       * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link
       * Object#toString}.
       *
       * <p>If the target method call finishes before the limit is reached, the return value or
       * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * the time to acquire the lock and the time to wait for the guard to be satisfied.
       *
       * @return whether the monitor was entered, which guarantees that the guard is now satisfied
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public boolean enterWhenUninterruptibly(Guard guard, long time, TimeUnit unit) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/rpc.java

            public int time_low;
            public short time_mid;
            public short time_hi_and_version;
            public byte clock_seq_hi_and_reserved;
            public byte clock_seq_low;
            public byte[] node;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.time_low);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @return the time that permits are available, or, if permits are available immediately, an
       *     arbitrary past or present time
       */
      abstract long queryEarliestAvailable(long nowMicros);
    
      /**
       * Reserves the requested number of permits and returns the time that those permits can be used
       * (with one caveat).
       *
       * @return the time that the permits may be used, or, if the permits may be used immediately, an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top