Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 3,642 for file1 (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

         *
         * **Warning:** callers to this method must immediately call [newSource] to create a source and
         * close that when they're done. Otherwise a handle to [file] will be leaked.
         */
        @Throws(IOException::class)
        fun read(file: File): Relay {
          val randomAccessFile = RandomAccessFile(file, "rw")
          val fileOperator = FileOperator(randomAccessFile.channel)
    
          // Read the header.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            context.setProjectDirectory(tempDir.toFile());
    
            File file = new File(tempDir.resolve("file.txt").toString());
            if (!file.createNewFile()) {
                throw new IOException("Can't create " + file);
            }
        }
    
        @Test
        void testRootDirectoryWithNull() {
            context.setProjectDirectory(null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val certificatePinner: CertificatePinner? = address.certificatePinner()
      }
    
      @Test @Disabled
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        val directory: File = cache.directory()
      }
    
      @Test @Disabled
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. api/maven-api-metadata/src/main/mdo/metadata.mdo

    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. .gitattributes

    # Auto detect text files and perform LF normalization
    * text=auto
    
    # Known text files
    *.java text
    *.xml text
    *.yml text
    *.md text
    *.sh text
    *.css text
    *.txt text
    
    # Known binary files
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Nov 04 21:50:10 UTC 2014
    - 196 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_custom_response/test_tutorial009.py

    from docs_src.custom_response import tutorial009
    from docs_src.custom_response.tutorial009 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 487 bytes
    - Viewed (0)
  8. .github/workflows/auto-assign-pr-to-author.yml

    name: 'Auto Assign PR to Author'
    on:
      pull_request:
        types: [opened]
    
    permissions: {}
    
    jobs:
      add-reviews:
        permissions:
          contents: read  # for kentaro-m/auto-assign-action to fetch config file
          pull-requests: write  # for kentaro-m/auto-assign-action to assign PR reviewers
        runs-on: ubuntu-latest
        steps:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 381 bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        File getUserSettingsFile();
    
        MavenExecutionRequest setUserSettingsFile(File userSettingsFile);
    
        File getProjectSettingsFile();
    
        MavenExecutionRequest setProjectSettingsFile(File projectSettingsFile);
    
        @Deprecated
        File getGlobalSettingsFile();
    
        @Deprecated
        MavenExecutionRequest setGlobalSettingsFile(File globalSettingsFile);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-a-1.0.pom

      <artifactId>t08-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-b</artifactId>
          <version>1.0</version>
          <type>jar</type>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 572 bytes
    - Viewed (0)
Back to top