Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 686 for read1 (0.04 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go

    	counter.Open()
    	opened = true
    }
    
    // ReadCounter reads the given counter.
    func ReadCounter(c *counter.Counter) (count uint64, _ error) {
    	return ic.Read(c)
    }
    
    // ReadStackCounter reads the given StackCounter.
    func ReadStackCounter(c *counter.StackCounter) (stackCounts map[string]uint64, _ error) {
    	return ic.ReadStack(c)
    }
    
    // ReadFile reads the counters and stack counters from the given file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

            then:
            testLockFile.text == """${LockFileReaderWriter.LOCKFILE_HEADER_LIST.join('\n')}
    bar=a
    foo=a,b
    empty=c
    """.denormalize()
            !lockDir.exists()
        }
    
        def 'reads a legacy lock file'() {
            given:
            def lockFile = lockDir.file('conf.lockfile')
            lockFile << """#Ignored
    line1
    
    line2"""
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * @throws ModelParseException If the input format could not be parsed.
         * @deprecated Use {@link #read(Path, Map)} instead.
         */
        @Deprecated
        Model read(File input, Map<String, ?> options) throws IOException, ModelParseException;
    
        /**
         * Reads the model from the specified file.
         *
         * @param input The file to deserialize the model from, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. cmd/local-locker_gen.go

    				return
    			}
    		case "Writes":
    			z.Writes, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Writes")
    				return
    			}
    		case "Reads":
    			z.Reads, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Reads")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Serializer.java

    public interface Serializer<T> {
        /**
         * Reads the next object from the given stream. The implementation must not perform any buffering, so that it reads only those bytes from the input stream that are
         * required to deserialize the next object.
         *
         * @throws EOFException When the next object cannot be fully read due to reaching the end of stream.
         */
        T read(Decoder decoder) throws EOFException, Exception;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. docs/distributed/SIZING.md

    # Erasure code sizing guide
    
    ## Toy Setups
    
    Capacity constrained environments, MinIO will work but not recommended for production.
    
    | servers | drives (per node) | stripe_size | parity chosen (default) | tolerance for reads (servers) | tolerance for writes (servers) |
    |--------:|------------------:|------------:|------------------------:|------------------------------:|-------------------------------:|
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Before accessing the cacher's cache, wait for the ready to be ok.
    	// This is necessary to prevent users from accessing structures that are
    	// uninitialized or are being repopulated right now.
    	// ready needs to be set to false when the cacher is paused or stopped.
    	// ready needs to be set to true when the cacher is ready to use after
    	// initialization.
    	ready *ready
    
    	// Underlying storage.Interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/runtime/debug_test.go

    	ogcpercent := debug.SetGCPercent(-1)
    	runtime.GC()
    
    	// ready is a buffered channel so debugCallWorker won't block
    	// on sending to it. This makes it less likely we'll catch
    	// debugCallWorker while it's in the runtime.
    	ready := make(chan *runtime.G, 1)
    	var stop uint32
    	done := make(chan error)
    	go debugCallWorker(ready, &stop, done)
    	g = <-ready
    	return g, func() {
    		atomic.StoreUint32(&stop, 1)
    		err := <-done
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReaderTest.groovy

                line.setLength(0)
            }
            return result.toString()
        }
    
        def "reads from empty text"() {
            expect:
            def reader = new PreprocessingReader(new StringReader(""))
            !reader.readNextLine(new StringBuilder())
        }
    
        def "reads single line"() {
            expect:
            def reader = new PreprocessingReader(new StringReader("abc(123)"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/os/dir.go

    //
    // If n <= 0, Readdir returns all the FileInfo from the directory in
    // a single slice. In this case, if Readdir succeeds (reads all
    // the way to the end of the directory), it returns the slice and a
    // nil error. If it encounters an error before the end of the
    // directory, Readdir returns the FileInfo read until that point
    // and a non-nil error.
    //
    // Most clients are better served by the more efficient ReadDir method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top