Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 638 for Cline (0.18 sec)

  1. docs/debugging/pprofgoparser/main.go

    		skip, record bool
    	)
    
    	for s.Scan() {
    		line := s.Text()
    		switch {
    		case skip && line != "":
    		case skip && line == "":
    			skip = false
    		case record && line == "":
    			stackTrace := bf.String()
    			reset()
    			record = false
    			if searchRE == nil || searchRE.MatchString(stackTrace) {
    				ret[t] = append(ret[t], stackTrace)
    			}
    		case record:
    			save(line)
    		default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                final String[] lines = value.split("[\r\n]");
                for (final String line : lines) {
                    if (StringUtil.isNotBlank(line)) {
                        final int pos = line.indexOf('=');
                        if (pos == 0) {
                            paramMap.put("unknown." + (unknownKey + 1), line.substring(pos + 1).trim());
                            unknownKey++;
                        } else if (pos > 0) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    			j++
    		} else {
    			j--
    		}
    		line := tmp.String() // We use the string-valued token here, for variety.
    		if s.Text() != line {
    			t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line)
    		}
    	}
    	err := s.Err()
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter errors out on a long line.
    func TestScanLineTooLong(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(val source: BufferedSource) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
            public StemmerOverrideItem commit() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*p = BatchJobExpirePurge(tmp)
    	p.line, p.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns nil if value is valid, ie > 0.
    func (p BatchJobExpirePurge) Validate() error {
    	if p.RetainVersions < 0 {
    		return BatchJobYamlErr{
    			line: p.line,
    			col:  p.col,
    			msg:  "retainVersions must be >= 0",
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. src/bufio/bufio.go

    		return line, true, nil
    	}
    
    	if len(line) == 0 {
    		if err != nil {
    			line = nil
    		}
    		return
    	}
    	err = nil
    
    	if line[len(line)-1] == '\n' {
    		drop := 1
    		if len(line) > 1 && line[len(line)-2] == '\r' {
    			drop = 2
    		}
    		line = line[:len(line)-drop]
    	}
    	return
    }
    
    // collectFragments reads until the first occurrence of delim in the input. It
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSink.java

        } finally {
          closer.close();
        }
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the operating system's default line separator. This method is equivalent to {@code
       * writeLines(lines, System.getProperty("line.separator"))}.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/input.go

    		}
    	}
    	in.Push(NewTokenizer(name, fd, fd))
    }
    
    // #line processing.
    func (in *Input) line() {
    	// Only need to handle Plan 9 format: #line 337 "filename"
    	tok := in.Stack.Next()
    	if tok != scanner.Int {
    		in.expectText("expected line number after #line")
    	}
    	line, err := strconv.Atoi(in.Stack.Text())
    	if err != nil {
    		in.Error("error parsing #line (cannot happen):", err)
    	}
    	tok = in.Stack.Next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top