Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for scanner (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            }
        }
    
        private void parseHtmlEntity(StringBuilder buffer) {
            scanner.next();
            scanner.mark();
            scanner.find(';');
            String value = ENTITIES.get(scanner.region().toLowerCase());
            buffer.append(value);
            scanner.next();
        }
    
        private void parseHtmlEncodedChar(StringBuilder buffer) {
            scanner.next(2);
            scanner.mark();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  2. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            FileSource source = new FileSource(txtFile);
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
    
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String QUERY_HIGHLIGHT_BOUNDARY_MAX_SCAN = "query.highlight.boundary.max.scan";
    
        /** The key of the configuration. e.g. chars */
        String QUERY_HIGHLIGHT_BOUNDARY_SCANNER = "query.highlight.boundary.scanner";
    
        /** The key of the configuration. e.g. default */
        String QUERY_HIGHLIGHT_ENCODER = "query.highlight.encoder";
    
        /** The key of the configuration. e.g. false */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  6. maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

         * Gets the POM whose build plugins are to be scanned for the prefix.
         *
         * @return The POM whose build plugins are to be scanned for the prefix or {@code null} to only search the plugin
         *         repositories.
         */
        Model getPom();
    
        /**
         * Sets the POM whose build plugins are to be scanned for the prefix.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/IntMath.java

          // But in gcd(a - b, b), a - b is even and b is odd, so we can divide out powers of two.
    
          // We bend over backwards to avoid branching, adapting a technique from
          // http://graphics.stanford.edu/~seander/bithacks.html#IntegerMinOrMax
    
          int delta = a - b; // can't overflow, since a and b are nonnegative
    
          int minDeltaOrZero = delta & (delta >> (Integer.SIZE - 1));
          // equivalent to Math.min(delta, 0)
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

         *
         * @return {@link System#getProperties()} obtained in a thread-safe manner.
         */
        public static Properties getSystemProperties() {
            return copyProperties(System.getProperties());
        }
    
        /**
         * Copies the given {@link Properties} object into a new {@link Properties} object, in a thread-safe manner.
         * @param properties Properties to copy.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SetMultimap.java

     *
     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
     * if key or value objects already present in the multimap change in a manner that affects
     * {@code equals} comparisons. Use caution if mutable objects are used as keys or values in a {@code
     * SetMultimap}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java

        /**
         * Gets the POM whose build plugins are to be scanned for the version.
         *
         * @return The POM whose build plugins are to be scanned for the version or {@code null} to only search the plugin
         *         repositories.
         */
        Model getPom();
    
        /**
         * Sets the POM whose build plugins are to be scanned for the version.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
Back to top