Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,425 for dwrite (0.08 sec)

  1. android/guava-tests/test/com/google/common/io/TestWriter.java

        this.out = out;
      }
    
      @Override
      public void write(int c) throws IOException {
        super.write(c);
        flush(); // flush write to TestOutputStream to get its behavior
      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 });
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                runtime.registerData("forumLink", forumLink);
            }
        }
    
        protected abstract String getActionRole();
    
        protected void write(final String path, final byte[] data) {
            LdiFileUtil.write(path, data);
        }
    
        protected ServletContext getServletContext() {
            return LaServletContextUtil.getServletContext();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            }
        }
    
        private void write(Path metadataPath, Metadata metadata) throws RepositoryException {
            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata.getDelegate());
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
       * [RequestBody.writeTo] after that method returns. For duplex requests bodies that condition is
       * lifted. Such writes occur on an application-provided thread and may occur concurrently with
       * reads of the [ResponseBody]. For duplex request bodies, [writeTo] should return
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
      }
    
      public void testWriteBytes() throws IOException {
        File temp = createTempFile();
        byte[] data = newPreFilledByteArray(2000);
        Files.write(data, temp);
        assertTrue(Arrays.equals(data, Files.toByteArray(temp)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    	EventKind   = madmin.LogKindEvent
    	InfoKind    = madmin.LogKindInfo
    )
    
    var (
    	// DisableLog avoids printing error/event/info kind of logs
    	DisableLog = false
    	// Output allows configuring custom writer, defaults to os.Stderr
    	Output io.Writer = os.Stderr
    )
    
    var trimStrings []string
    
    // TimeFormat - logging time format.
    const TimeFormat string = "15:04:05 MST 01/02/2006"
    
    var matchingFuncNames = [...]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        initializeData(out);
    
        data = baos.toByteArray();
      }
    
      private void initializeData(DataOutputStream out) throws IOException {
        /* Write out various test values NORMALLY */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        initializeData(out);
    
        data = baos.toByteArray();
      }
    
      private void initializeData(DataOutputStream out) throws IOException {
        /* Write out various test values NORMALLY */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top