Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 319 for Lines (0.04 seconds)

  1. docs/en/docs/tutorial/server-sent-events.md

    # Server-Sent Events (SSE) { #server-sent-events-sse }
    
    You can stream data to the client using **Server-Sent Events** (SSE).
    
    This is similar to [Stream JSON Lines](stream-json-lines.md), but uses the `text/event-stream` format, which is supported natively by browsers with the [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
    
    /// info
    
    Added in FastAPI 0.135.0.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java

        }
    
        static void checkFile(BiConsumer<Integer, String> log, int max, String... lineArray) {
            LineItr lines = new LineItr(Arrays.asList(lineArray).iterator());
            while (lines.hasNext()) {
                Matcher m = START.matcher(lines.next());
                if (m.matches()) {
                    checkSnippet(log, max, lines, m.group(1), m.group(2));
                }
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
      private CharSink sink;
    
      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Resources.java

      }
    
      /**
       * Streams lines from a URL, stopping when our callback returns false, or we have read all of the
       * lines.
       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the LineProcessor to use to handle the lines
       * @return the output of processing the lines
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. internal/s3select/json/args.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package json
    
    import (
    	"encoding/xml"
    	"fmt"
    	"strings"
    )
    
    const (
    	document = "document"
    	lines    = "lines"
    
    	defaultRecordDelimiter = "\n"
    )
    
    // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
    type ReaderArgs struct {
    	ContentType string `xml:"Type"`
    	unmarshaled bool
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

        }
    
        /**
         * @return a mapping from remote names to remote URLs.
         */
        public Map<String, String> listRemotes() {
            return runCommand("git", "remote", "-v").lines()
                .filter(l -> l.contains("(fetch)"))
                .map(line -> line.split("\\s+"))
                .collect(Collectors.toMap(parts -> parts[0], parts -> parts[1]));
        }
    
        String runCommand(String... args) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/CharStreams.java

        if (r instanceof Reader) {
          copyReaderToBuilder((Reader) r, sb);
        } else {
          copy(r, sb);
        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

            List<String> failures = new ArrayList<>();
            for (File f : getFiles()) {
                List<String> lines;
                try (Stream<String> stream = Files.lines(f.toPath(), StandardCharsets.UTF_8)) {
                    lines = stream.collect(Collectors.toList());
                } catch (UncheckedIOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  10. ci/official/containers/ml_build/setup.packages.sh

    # Usage: setup.packages.sh <package_list.txt>
    set -e
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    apt-get update
    # Remove commented lines and blank lines
    apt-get install -y --no-install-recommends $(sed -e '/^\s*#.*$/d' -e '/^\s*$/d' "$1" | sort -u)
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Sep 24 20:45:58 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top