Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for Reading (0.35 sec)

  1. guava/src/com/google/common/io/CharSource.java

      }
    
      /**
       * Opens a new {@link Stream} for reading text one line at a time from this source. This method
       * returns a new, independent stream each time it is called.
       *
       * <p>The returned stream is lazy and only reads from the source in the terminal operation. If an
       * I/O error occurs while the stream is reading from the source or when the stream is closed, an
       * {@link UncheckedIOException} is thrown.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    	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)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    	scanner := bufio.NewScanner(strings.NewReader("gopher"))
    	for scanner.Scan() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                request.getEventSpyDispatcher().onEvent(settingsRequest);
            }
    
            LOGGER.debug(
                    "Reading installation settings from '{}'",
                    getLocation(settingsRequest.getGlobalSettingsSource(), settingsRequest.getGlobalSettingsFile()));
            LOGGER.debug(
                    "Reading project settings from '{}'",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/secret_test.go

    			if err != nil {
    				t.Errorf("error reading test data file: %v", err)
    			}
    
    			outFile, err := os.Open(fmt.Sprintf("testdata/secret/%s/output", tc.sds))
    			if err != nil {
    				t.Errorf("error opening test data output file: %v", err)
    			}
    			defer outFile.Close()
    			expectedOut, err := io.ReadAll(outFile)
    			if err != nil {
    				t.Errorf("error reading test data output file: %v", err)
    			}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    			}
    
    			diskID, err := s.GetDiskID()
    			// Healing is 'true' when
    			// - if we found an unformatted disk (no 'format.json')
    			// - if we found healing tracker 'healing.bin'
    			dcinfo.Healing = errors.Is(err, errUnformattedDisk)
    			if !dcinfo.Healing {
    				if hi := s.Healing(); hi != nil && !hi.Finished {
    					dcinfo.Healing = true
    				}
    			}
    
    			dcinfo.ID = diskID
    			return dcinfo, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    channel = new RandomAccessFile(touchfile, "rw").getChannel();
                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteSink.java

      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
       * input}.
       *
       * @return the number of bytes written
       * @throws IOException if an I/O occurs while reading from {@code input} or writing to this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(InputStream input) throws IOException {
        checkNotNull(input);
    
        try (OutputStream out = openStream()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                                    : null)
                    .build();
    
            context.eventSpyDispatcher.onEvent(toolchainsRequest);
    
            context.logger.debug("Reading installation toolchains from '" + installationToolchainsFile + "'");
            context.logger.debug("Reading user toolchains from '" + userToolchainsFile + "'");
    
            ToolchainsBuilderResult toolchainsResult = context.toolchainsBuilder.build(toolchainsRequest);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	MaxSize      int64    `msg:"ms"`           // Return error if size is exceed.
    	MetadataOnly bool     `msg:"mo"`           // Read as XL meta and truncate data.
    	AbortOn404   bool     `msg:"ab"`           // Stop reading after first file not found.
    	MaxResults   int      `msg:"mr"`           // Stop after this many successful results. <= 0 means all.
    }
    
    // ReadMultipleResp contains a single response from a ReadMultipleReq.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    .build();
    
            customizeSettingsRequest(context, settingsRequest);
    
            context.logger.debug("Reading installation settings from '" + installationSettingsFile + "'");
            context.logger.debug("Reading project settings from '" + projectSettingsFile + "'");
            context.logger.debug("Reading user settings from '" + userSettingsFile + "'");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top