Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 674 for parseInt (0.14 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *
       * <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
       * and returns {@code null} if non-ASCII digits are present in the string.
       *
       * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link
       * Integer#parseInt(String)} accepts them.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

          return;
        }
    
        String keystoreFile = args[0];
        String password = args[1];
        String root = args[2];
        int port = Integer.parseInt(args[3]);
    
        SSLContext sslContext = sslContext(keystoreFile, password);
        SampleServer server = new SampleServer(sslContext, root, port);
        server.run();
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

                int priority;
                if (priorityEnd < phaseEnd + 1) {
                    priority = 0;
                    hasPriority = false;
                } else {
                    try {
                        priority = Integer.parseInt(phase.substring(phaseEnd + 1, priorityEnd));
                        hasPriority = true;
                    } catch (NumberFormatException e) {
                        // priority must be an integer
                        priority = 0;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. schema/field.go

    			} else {
    				schema.err = fmt.Errorf("invalid serializer type %v", serializerName)
    			}
    		}
    	}
    
    	if num, ok := field.TagSettings["AUTOINCREMENTINCREMENT"]; ok {
    		field.AutoIncrementIncrement, _ = strconv.ParseInt(num, 10, 64)
    	}
    
    	if v, ok := field.TagSettings["DEFAULT"]; ok {
    		field.HasDefaultValue = true
    		field.DefaultValue = v
    	}
    
    	if num, ok := field.TagSettings["SIZE"]; ok {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

            final List<String> hostPortList = DfStringUtil.splitListTrimmed(hostAndPort, ":");
            motorbike.registerConnectionInfo(hostPortList.get(0), Integer.parseInt(hostPortList.get(1)));
            motorbike.registerReturnPath(fessConfig.getMailReturnPath());
            parkingLot.registerMotorbikeAsMain(motorbike);
            return parkingLot;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

        }
    
        private void parseHtmlEncodedChar(StringBuilder buffer) {
            scanner.next(2);
            scanner.mark();
            scanner.find(';');
            String value = new String(new char[]{(char) Integer.parseInt(scanner.region())});
            buffer.append(value);
            scanner.next();
        }
    
        private void parseJavadocTag(TokenVisitor visitor) {
            // start of tag marker
            scanner.next(2);
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

         */
    
        public static int getInt(final String key, int def) {
            final String s = prp.getProperty(key);
            if (s != null) {
                try {
                    def = Integer.parseInt(s);
                } catch (final NumberFormatException nfe) {
                    if (LogStream.level > 0) {
                        nfe.printStackTrace(log);
                    }
                }
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/CollectorTester.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
     *     .expectCollects(10, "1", "4", "3", "2")
     *     .expectCollects(5, "-3", "0", "8");
     * </pre>
     *
     * @author Louis Wasserman
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @throws NullPointerException if {@code s} is null (in contrast to {@link
       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String s) {
        return parseUnsignedInt(s, 10);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

            byte[] data = testContent.getBytes("UTF-8");
            ContentCache cache = new ContentCache(data);
            response.setContentCache(cache);
    
            Integer result = response.getContent(r -> Integer.parseInt(r.getContentAsString()));
    
            assertEquals(Integer.valueOf(42), result);
        }
    
        @Test
        public void testCloseWithContentCache() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top