Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 267 for scatter (0.18 sec)

  1. src/bufio/example_test.go

    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Take off your hat,' the King said to the Hatter.
    
      `It isn't mine,' said the Hatter.
    
      `Stolen!' the King exclaimed, turning to the jury, who
    instantly made a memorandum of the fact.
    
      `I keep them to sell,' the Hatter added as an explanation;
    `I've none of my own.  I'm a hatter.'
    
      Here the Queen put on her spectacles, and began staring at the
    Hatter, who turned pale and fidgeted.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    // Scan advances the [Scanner] to the next token, which will then be
    // available through the [Scanner.Bytes] or [Scanner.Text] method. It returns false when
    // there are no more tokens, either by reaching the end of the input or an error.
    // After Scan returns false, the [Scanner.Err] method will return any error that
    // occurred during scanning, except that if it was [io.EOF], [Scanner.Err]
    // will return nil.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion { descriptor.setter != null }
    
        override val setter: KtPropertySetterSymbol?
            get() = withValidityAssertion {
                if (!descriptor.isVar) {
                    return null
                }
    
                val setter = descriptor.setter ?: return KtFe10DescDefaultPropertySetterSymbol(descriptor, analysisContext)
                KtFe10DescPropertySetterSymbol(setter, analysisContext)
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

            UrlSource source = new UrlSource(txtFile);
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/tokenizer.go

    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java

         * An ignored field.
         */
        String ignoreMe1;
    
        /**
         * Another ignored field.
         */
        final long ignoreMe2 = 9;
    
        /**
         * Not a setter.
         */
        public void setIgnoreMe1() {
        }
    
        /**
         * Not a setter.
         */
        public void setIgnoreMe2(String a, int b) {
        }
    
        /**
         * A write-only property.
         */
        public void setWriteOnly(JavaInterface value) {
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    Krishnan Parthasarathi <******@****.***> 1709356263 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

    import java.io.InputStream;
    import java.util.Scanner;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class StringSourceTest {
        @Test
        void testGetInputStream() throws Exception {
            StringSource source = new StringSource("Hello World!");
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top