Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for grandparent (0.04 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null);
        URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent);
        assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {}))
            .containsExactly(new File("/a"), grandParent, new File("/b"), parent);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        }
      }
    
      public void testCreateParentDirs_multipleParentsNeeded() throws IOException {
        File file = file(getTempDir(), "grandparent", "parent", "nonexistent.file");
        File parent = file.getParentFile();
        File grandparent = parent.getParentFile();
        assertFalse(grandparent.exists());
        Files.createParentDirs(file);
        assertTrue(parent.exists());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

        }
      }
    
      public void testCreateParentDirs_multipleParentsNeeded() throws IOException {
        File file = file(getTempDir(), "grandparent", "parent", "nonexistent.file");
        File parent = file.getParentFile();
        File grandparent = parent.getParentFile();
        assertFalse(grandparent.exists());
        Files.createParentDirs(file);
        assertTrue(parent.exists());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

    import okio.BufferedSource
    import okio.Source
    import okio.source
    import org.brotli.dec.BrotliInputStream
    
    /**
     * Transparent Brotli response support.
     *
     * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in
     * responses.  n.b. this replaces the transparent gzip compression in BridgeInterceptor.
     */
    object BrotliInterceptor : CompressionInterceptor(Brotli, Gzip)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. okhttp-brotli/README.md

    OkHttp Brotli Implementation
    ============================
    
    This module is an implementation of [Brotli][1] compression.
    It enables Brotli support in addition to tranparent Gzip support,
    provided Accept-Encoding is not set previously.  Modern web servers
    must choose to return Brotli responses.  n.b. It is not used for
    sending requests.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(BrotliInterceptor.INSTANCE)
      .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 571 bytes
    - Viewed (0)
  6. README.md

    ```java
    import jcifs.CIFSContext;
    import jcifs.context.SingletonContext;
    import jcifs.smb.SmbFile;
    
    // Using default context
    CIFSContext context = SingletonContext.getInstance();
    
    // Access a file (encryption is transparent - automatically used if server requires it)
    try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) {
        if (file.exists()) {
            System.out.println("File size: " + file.length());
        }
    }
    ```
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.http.promisesBody
    import okio.BufferedSource
    import okio.GzipSource
    import okio.Source
    import okio.buffer
    
    /**
     * Transparent Compressed response support.
     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
     * If [algorithms] is empty this interceptor has no effect. To disable compression set
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb/Handler.java

    import java.net.URLStreamHandler;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.SmbConstants;
    import jcifs.context.SingletonContext;
    
    /**
     * URL handler for transparent smb:// URL handling
     *
     */
    public class Handler extends URLStreamHandler {
    
        private static final Logger log = LoggerFactory.getLogger(Handler.class);
        private CIFSContext transportContext;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. doc/godebug.md

    setting](/pkg/crypto/tls/#ConnectionState.ExportKeyingMaterial).
    
    Go 1.22 changed how the runtime interacts with transparent huge pages on Linux.
    In particular, a common default Linux kernel configuration can result in
    significant memory overheads, and Go 1.22 no longer works around this default.
    To work around this issue without adjusting kernel settings, transparent huge
    pages can be disabled for Go memory with the
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/Curl.java

         *   <li>OPTIONS - Returns the HTTP methods that the server supports.</li>
         *   <li>TRACE - Echoes back the received request, used for debugging.</li>
         *   <li>CONNECT - Converts the request connection to a transparent TCP/IP tunnel.</li>
         * </ul>
         */
        public enum Method {
            /**
             * HTTP GET method.
             */
            GET,
            /**
             * HTTP POST method.
             */
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top