Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 116 for writeline (0.17 sec)

  1. internal/config/cache/remote_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.ModTime)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	// write "StatusCode"
    	err = en.Append(0xaa, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.StatusCode)
    	if err != nil {
    		err = msgp.WrapError(err, "StatusCode")
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. cmd/batch-handlers_gen.go

    	}
    	// write "st"
    	err = en.Append(0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.StartTime)
    	if err != nil {
    		err = msgp.WrapError(err, "StartTime")
    		return
    	}
    	// write "lu"
    	err = en.Append(0xa2, 0x6c, 0x75)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	// write "ra"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 18:58:22 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) Buffer.UnsafeCursor() else null
    
      /** Send a ping with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePing(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PING, payload)
      }
    
      /** Send a pong with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePong(payload: ByteString) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	rfw := &readFromWriter{}
    	w := NewWriterSize(rfw, bufsize)
    
    	const writeSize = 8
    	if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil {
    		t.Errorf("w.Write(%v bytes) = %v, %v; want %v, nil", writeSize, n, err, writeSize)
    	}
    	n, err := w.ReadFrom(bytes.NewReader(input[writeSize:]))
    	if wantn := len(input[writeSize:]); int(n) != wantn || err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  5. cmd/background-newdisks-heal-ops_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.Started)
    	if err != nil {
    		err = msgp.WrapError(err, "Started")
    		return
    	}
    	// write "LastUpdate"
    	err = en.Append(0xaa, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 17:05:40 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        String separator = System.getProperty("line.separator");
        sink.writeLines(lines);
    
        assertContainsExpectedLines(separator);
      }
    
      public void testWriteLines_specificSeparator() throws IOException {
        String separator = "\r\n";
        sink.writeLines(lines, separator);
    
        assertContainsExpectedLines(separator);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSinkTester.java

        String separator = System.getProperty("line.separator");
        sink.writeLines(lines);
    
        assertContainsExpectedLines(separator);
      }
    
      public void testWriteLines_specificSeparator() throws IOException {
        String separator = "\r\n";
        sink.writeLines(lines, separator);
    
        assertContainsExpectedLines(separator);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

          }
        }
    
        @Override
        public void writeInt(int v) {
          try {
            output.writeInt(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeLong(long v) {
          try {
            output.writeLong(v);
          } catch (IOException impossible) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSinkTest.java

        assertFalse(in.closed());
      }
    
      public void testWriteLines_withSpecificSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n");
        assertEquals("foo\nbar\nbaz\n", sink.getString());
      }
    
      public void testWriteLines_withDefaultSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"));
        String separator = System.getProperty("line.separator");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSink.java

       * the operating system's default line separator. This method is equivalent to {@code
       * writeLines(lines, System.getProperty("line.separator"))}.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines) throws IOException {
        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top