Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 391 for Krister (0.2 sec)

  1. internal/ioutil/ioutil.go

    // LimitedWriter takes an io.Writer and returns an ioutil.LimitWriter.
    func LimitedWriter(w io.Writer, skipBytes int64, limit int64) *LimitWriter {
    	return &LimitWriter{w, skipBytes, limit}
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (nopCloser) Close() error { return nil }
    
    // NopCloser returns a WriteCloser with a no-op Close method wrapping
    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          reader = null
    
          if (enqueuedClose && messageAndCloseQueue.isEmpty()) {
            // Close the writer on the writer's thread.
            val writerToClose = this.writer
            if (writerToClose != null) {
              this.writer = null
              taskQueue.execute("$name writer close", cancelable = false) {
                writerToClose.closeQuietly()
              }
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected KuromojiItem item;
    
            protected KuromojiUpdater(final KuromojiItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(KUROMOJI, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected StopwordsItem item;
    
            protected SynonymUpdater(final StopwordsItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(STOPWORDS, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected CharMappingItem item;
    
            protected MappingUpdater(final CharMappingItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(MAPPING, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. istioctl/pkg/util/common.go

    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. internal/s3select/sql/record.go

    type Record interface {
    	Get(name string) (*Value, error)
    
    	// Set a value.
    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    				bytesReturned := atomic.LoadInt64(&writer.bytesReturned)
    				if !writer.write(newStatsMessage(writer.finBytesScanned, writer.finBytesProcessed, bytesReturned)) {
    					break
    				}
    				writer.write(endMessage)
    			} else {
    				for payload.Len() > 0 {
    					copiedLen := copy(writer.payloadBuffer[writer.payloadBufferIndex:], payload.Bytes())
    					writer.payloadBufferIndex += copiedLen
    					payload.Next(copiedLen)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
          if (associatedStreamId == 0) {
            writer.headers(outFinished, streamId, requestHeaders)
          } else {
            require(!client) { "client streams shouldn't have associated stream IDs" }
            // HTTP/2 has a PUSH_PROMISE frame.
            writer.pushPromise(associatedStreamId, streamId, requestHeaders)
          }
        }
    
        if (flushHeaders) {
          writer.flush()
        }
    
        return stream
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

            try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) {
                exception.printStackTrace(writer);
                writer.flush();
                append(buf, "exception", () -> StringEscapeUtils.escapeJson(new String(baos.toByteArray(), Constants.CHARSET_UTF_8)));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top