Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for testfile (0.04 sec)

  1. src/archive/zip/testdata/dd.zip

    filename This is a test textfile....
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 154 bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

        private CIFSContext mockContext;
    
        private byte[] testFileId;
        private byte[] outputBuffer;
        private Smb2ReadRequest request;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
            outputBuffer = new byte[4096];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

            println(key)
            println(value.content)
          }
        }
      }
    
      @JsonClass(generateAdapter = true)
      data class Gist(
        var files: Map<String, GistFile>?,
      )
    
      @JsonClass(generateAdapter = true)
      data class GistFile(
        var content: String?,
      )
    }
    
    fun main() {
      ParseResponseWithMoshi().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

    * It has a <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` interface.
    * It exposes an actual Python <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> object that you can pass directly to other libraries that expect a file-like object.
    
    ### `UploadFile` { #uploadfile }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request-files.md

    * Ele tem uma <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> interface `assíncrona`.
    * Ele expõe um objeto python <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> que você pode passar diretamente para outras bibliotecas que esperam um objeto semelhante a um arquivo("file-like").
    
    ### `UploadFile`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

        private byte[] testFileId;
        private Smb2WriteRequest request;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
            request = new Smb2WriteRequest(mockConfig, testFileId);
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Check that we can find a resource if it is visible to the context class
        // loader, even if it is not visible to the loader of the Resources class.
    
        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, time);
    
            // Test with specific time value
            long testTime = 131768928000000000L; // Example Windows file time
            SMBUtil.writeInt8(testTime, src, 8);
            long readTime = SMBUtil.readTime(src, 8);
            assertEquals((testTime / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601), readTime);
        }
    
        @Test
        void testWriteTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        private byte[] testFileId;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
    
            testFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

         * verifying interaction.
         */
        private class RecordingFilter implements SmbFileFilter {
            private SmbFile lastFile;
            private String lastPath;
    
            @Override
            public boolean accept(SmbFile file) throws SmbException {
                lastFile = file;
                // Actually interact with the file to verify the mock interaction
                if (file != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top