Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for newSink (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        count++
        readByte()
      }
      return count
    }
    
    /**
     * Returns the index of the next non-whitespace character in this. Result is undefined if input
     * contains newline characters.
     */
    internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int {
      for (i in startIndex until length) {
        val c = this[i]
        if (c != ' ' && c != '\t') {
          return i
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

      override fun hashCode(): Int = commonHashCode()
    
      /**
       * Returns header names and values. The names and values are separated by `: ` and each pair is
       * followed by a newline character `\n`.
       *
       * Since OkHttp 5 this redacts these sensitive headers:
       *
       *  * `Authorization`
       *  * `Cookie`
       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    		return "", "", s, ErrHeader
    	}
    	n -= int64(len(nStr) + 1) // convert from index in s to index in rest
    	if n <= 0 {
    		return "", "", s, ErrHeader
    	}
    
    	// Extract everything between the space and the final newline.
    	rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:]
    	if nl != "\n" {
    		return "", "", s, ErrHeader
    	}
    
    	// The first equals separates the key from the value.
    	k, v, ok = strings.Cut(rec, "=")
    	if !ok {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

        @Override
        public Optional<Long> lengthIfKnown() {
          return Optional.of((long) seq.length());
        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	bs, err := os.ReadFile(filename)
    	if err != nil {
    		log.Fatal(err)
    	}
    	s := string(bs)
    
    	// Diagnose common mistakes people make,
    	// since there is no apifmt to format these files.
    	// The missing final newline is important for the
    	// final release step of cat next/*.txt >go1.X.txt.
    	// If the files don't end in full lines, the concatenation goes awry.
    	if strings.Contains(s, "\r") {
    		log.Printf("%s: contains CRLFs", filename)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.32.md

    ## Dependencies
    
    ### Added
    - github.com/moby/sys/userns: [v0.1.0](https://github.com/moby/sys/tree/userns/v0.1.0)
    
    ### Changed
    - github.com/vishvananda/netlink: [v1.3.0 → b1ce50c](https://github.com/vishvananda/netlink/compare/v1.3.0...b1ce50c)
    - k8s.io/system-validators: v1.9.0 → v1.8.0
    - sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.30.3 → v0.31.0
    
    ### Removed
    _Nothing has changed._
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    func print(args ...Type)
    
    // The println built-in function formats its arguments in an
    // implementation-specific way and writes the result to standard error.
    // Spaces are always added between arguments and a newline is appended.
    // Println is useful for bootstrapping and debugging; it is not guaranteed
    // to stay in the language.
    func println(args ...Type)
    
    // The error built-in interface type is the conventional interface for
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    	}
    
    	// TODO: It seems like we may have to be prepared to rewrite and sort trailing headers:
    	// https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
    
    	// Any value must end with a newline.
    	// Not all clients send that.
    	trailerRaw := valueBuffer.Bytes()
    	if len(trailerRaw) > 0 && trailerRaw[len(trailerRaw)-1] != '\n' {
    		valueBuffer.Write([]byte{'\n'})
    	}
    	sig = sig[len("x-amz-trailer-signature:"):]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    		}
    		buf.WriteString(s3Select.Output.CSVArgs.RecordDelimiter)
    
    		return nil
    	case jsonFormat:
    		err := record.WriteJSON(buf)
    		if err != nil {
    			return err
    		}
    		// Trim trailing newline from non-simd output
    		if buf.Bytes()[buf.Len()-1] == '\n' {
    			buf.Truncate(buf.Len() - 1)
    		}
    		buf.WriteString(s3Select.Output.JSONArgs.RecordDelimiter)
    
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            return this;
        }
    
        public Ansi a(StringBuffer value) {
            flushAttributes();
            builder.append(value);
            return this;
        }
    
        public Ansi newline() {
            flushAttributes();
            builder.append(System.lineSeparator());
            return this;
        }
    
        public Ansi format(String pattern, Object... args) {
            flushAttributes();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top