Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,495 for Write (0.14 sec)

  1. internal/s3select/genmessage.go

    	prelude := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude))
    	buf.Write(header)
    	message := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message))
    
    	fmt.Println(buf.Bytes())
    }
    
    func genProgressHeader() {
    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                fp += n;
                return n;
            }
            return 0;
        }
    
        public void write( int b ) throws SmbException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
        public void write( byte b[] ) throws SmbException {
            write( b, 0, b.length );
        }
        public void write( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
                return;
            }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IOException.class, () -> out.write(data));
          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IOException.class, () -> out.write(data));
          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
    
    /**
     * Writes b.length bytes from the specified byte array to this
     * file output stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public void write( byte[] b ) throws IOException {
            write( b, 0, b.length );
        }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        default void write(@Nonnull T content, @Nonnull Path path) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder().content(content).path(path).build());
        }
    
        default void write(@Nonnull T content, @Nonnull OutputStream outputStream) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder()
                    .content(content)
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.write("Hello".toCharArray());
        writer.write(',');
        writer.write(0xBEEF0020); // only lower 16 bits are important
        writer.write("Wo");
        writer.write("Whirled".toCharArray(), 3, 2);
        writer.write("Mad! Mad, I say", 2, 2);
    
        assertEquals("Hello, World!", builder.toString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top