Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 274 for Write (0.04 sec)

  1. 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);
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8064".decodeHex()).write(bytes, 100, 100)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun twoFrameNotContinuation() {
        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8264".decodeHex()).write(bytes, 100, 100)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    	w := NewWriter(io.Discard)
    	dw, err := w.Create("dir/")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err := dw.Write(nil); err != nil {
    		t.Errorf("Write(nil) to directory: got %v, want nil", err)
    	}
    	if _, err := dw.Write([]byte("hello")); err == nil {
    		t.Error(`Write("hello") to directory: got nil error, want non-nil`)
    	}
    }
    
    func TestWriterDirAttributes(t *testing.T) {
    	var buf bytes.Buffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.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);
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                    }
                                    bw.write(mapper.writeValueAsString(dataObj));
                                } else {
                                    bw.write(line);
                                }
                            } else {
                                bw.write(line);
                            }
                        }
                        bw.write("\n");
                    }
                    bw.flush();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. cmd/batch-expire_gen.go

    		return
    	}
    	// write "Name"
    	err = en.Append(0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Purge"
    	err = en.Append(0xa5, 0x50, 0x75, 0x72, 0x67, 0x65)
    	if err != nil {
    		return
    	}
    	// map header, size 1
    	// write "RetainVersions"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. cmd/local-locker_gen.go

    func (z *lockRequesterInfo) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 9
    	// write "Name"
    	err = en.Append(0x89, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Writer"
    	err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    // Write is never called with an empty buffer.
    type testNonEmptyWriter struct{ io.Writer }
    
    func (w testNonEmptyWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, errors.New("unexpected empty Write call")
    	}
    	return w.Writer.Write(b)
    }
    
    func TestFileWriter(t *testing.T) {
    	type (
    		testWrite struct { // Write(str) == (wantCnt, wantErr)
    			str     string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharStreams.java

        @Override
        public void write(int c) {}
    
        @Override
        public void write(char[] cbuf) {
          checkNotNull(cbuf);
        }
    
        @Override
        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. cmd/batch-job-common-types_gen.go

    func (z BatchJobKV) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Key"
    	err = en.Append(0x82, 0xa3, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Key)
    	if err != nil {
    		err = msgp.WrapError(err, "Key")
    		return
    	}
    	// write "Value"
    	err = en.Append(0xa5, 0x56, 0x61, 0x6c, 0x75, 0x65)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
Back to top