Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 458 for readDir (3.74 sec)

  1. internal/grid/msg_gen.go

    		case "nf":
    			z.NotFound, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "NotFound")
    				return
    			}
    		case "e":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Err")
    					return
    				}
    				z.Err = nil
    			} else {
    				if z.Err == nil {
    					z.Err = new(string)
    				}
    				*z.Err, err = dc.ReadString()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom_gen.go

    				return
    			}
    		case "lu":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "dec":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Decommission")
    					return
    				}
    				z.Decommission = nil
    			} else {
    				if z.Decommission == nil {
    					z.Decommission = new(PoolDecommissionInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics_gen.go

    				var za0001 string
    				var za0002 *SRStatus
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "M")
    					return
    				}
    				if dc.IsNil() {
    					err = dc.ReadNil()
    					if err != nil {
    						err = msgp.WrapError(err, "M", za0001)
    						return
    					}
    					za0002 = nil
    				} else {
    					if za0002 == nil {
    						za0002 = new(SRStatus)
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

       * independent reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
       * @throws IOException if an I/O error occurs while of opening the reader
       */
      public BufferedReader openBufferedStream() throws IOException {
        Reader reader = openStream();
        return (reader instanceof BufferedReader)
            ? (BufferedReader) reader
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            addDocument(indexName, client, num);
    
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(1);
            reader.setLimitDocNumPercentage("1%");
            int count = 0;
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharStreams.java

        // The most common case is that from is a Reader (like InputStreamReader or StringReader) so
        // take advantage of that.
        if (from instanceof Reader) {
          // optimize for common output types which are optimized to deal with char[]
          if (to instanceof StringBuilder) {
            return copyReaderToBuilder((Reader) from, (StringBuilder) to);
          } else {
            return copyReaderToWriter((Reader) from, asWriter(to));
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        CharSequenceReader reader = new CharSequenceReader(string);
        assertTrue(reader.markSupported());
    
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            }
        }
    
        @Override
        public org.apache.maven.model.Model read(Reader reader, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(reader, "reader cannot be null");
            try (Reader r = reader) {
                org.apache.maven.api.model.Model model = read(null, null, r, options);
                return new org.apache.maven.model.Model(model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

      TF_CheckpointReader* reader = new TF_CheckpointReader(filename, status);
      if (!status->status.ok()) {
        TF_DeleteCheckpointReader(reader);
        return nullptr;
      }
      const auto& m = reader->GetVariableToDataTypeMap();
      for (auto it = m.begin(); it != m.end(); ++it)
        reader->variable_list.push_back(it->first);
      std::sort(reader->variable_list.begin(), reader->variable_list.end());
      return reader;
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. cmd/streaming-v4-unsigned.go

    		req.Trailer = nil
    	}
    	return &s3UnsignedChunkedReader{
    		trailers: req.Trailer,
    		reader:   bufio.NewReader(req.Body),
    		buffer:   make([]byte, 64*1024),
    	}, ErrNone
    }
    
    // Represents the overall state that is required for decoding a
    // AWS Signature V4 chunked reader.
    type s3UnsignedChunkedReader struct {
    	reader   *bufio.Reader
    	trailers http.Header
    
    	buffer []byte
    	offset int
    	err    error
    	debug  bool
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top