Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 454 for rsplit (0.05 seconds)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
          var logMessage = message
          if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t)
    
          // Split by line, then ensure each line can fit into Log's maximum length.
          var i = 0
          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

       */
      // TODO(b/65488446): Make this a public API.
      static URL[] parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. internal/event/arn.go

    func parseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:sqs:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 6 {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	if tokens[4] == "" || tokens[5] == "" {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	return &ARN{
    		region: tokens[3],
    		TargetID: TargetID{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. misc/go_android_exec/main.go

    		return err
    	}
    	return nil
    }
    
    func adbCmd(args ...string) *exec.Cmd {
    	if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" {
    		args = append(strings.Split(flags, " "), args...)
    	}
    	return exec.Command("adb", args...)
    }
    
    const (
    	deviceRoot   = "/data/local/tmp/go_android_exec"
    	deviceGoroot = deviceRoot + "/goroot"
    )
    
    func main() {
    	log.SetFlags(0)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  5. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

            writeShort(1) // question count
            writeShort(0) // answerCount
            writeShort(0) // authorityResourceCount
            writeShort(0) // additional
    
            val nameBuf = Buffer()
            val labels = host.split('.').dropLastWhile { it.isEmpty() }
            for (label in labels) {
              val utf8ByteCount = label.utf8Size()
              require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

         */
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
            final String token = request.getHeader("Authorization");
            if (token != null) {
                final String[] values = token.trim().split(" ");
                if (values.length == 2 && BEARER.equals(values[0])) {
                    return values[1];
                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dataconfig;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
                sb.setLength(0);
                String[] words = S_FILTER.split(line);
                for (String word : words) {
                    if (sb.length() >= remainder - word.length() - (!sb.isEmpty() ? 1 : 0)) {
                        repeat(sb, ' ', remainder - sb.length());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

             */
            protected List<String> getWebConfigIdList() {
                if (StringUtil.isNotBlank(webConfigIds)) {
                    final String[] values = webConfigIds.split(",");
                    return createConfigIdList(values);
                }
                return null;
            }
    
            /**
             * Parses the file configuration IDs string into a list.
             *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.Proxy;
    import java.nio.file.Files;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top