Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for Reads (0.04 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Resources.java

    @ElementTypesAreNonnullByDefault
    public final class Resources {
      private Resources() {}
    
      /**
       * Returns a {@link ByteSource} that reads from the given URL.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(URL url) {
        return new UrlByteSource(url);
      }
    
      /** A byte source that reads from a URL using {@link URL#openStream()}. */
      private static final class UrlByteSource extends ByteSource {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

        /**
         * Name of the property used to store the project's root directory to use with
         * XInclude support.
         */
        String ROOT_DIRECTORY = "rootDirectory";
    
        /**
         * Reads the model from the specified file.
         *
         * @param input The file to deserialize the model from, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. cmd/erasure-decode.go

    	readTriggerCh := make(chan bool, len(p.readers))
    	defer xioutil.SafeClose(readTriggerCh) // close the channel upon return
    
    	for i := 0; i < p.dataBlocks; i++ {
    		// Setup read triggers for p.dataBlocks number of reads so that it reads in parallel.
    		readTriggerCh <- true
    	}
    
    	disksNotFound := int32(0)
    	bitrotHeal := int32(0)       // Atomic bool flag.
    	missingPartsHeal := int32(0) // Atomic bool flag.
    	readerIndex := 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/bytes/buffer.go

    	}
    	return data
    }
    
    // ReadByte reads and returns the next byte from the buffer.
    // If no byte is available, it returns error [io.EOF].
    func (b *Buffer) ReadByte() (byte, error) {
    	if b.empty() {
    		// Buffer is empty, reset to recover space.
    		b.Reset()
    		return 0, io.EOF
    	}
    	c := b.buf[b.off]
    	b.off++
    	b.lastRead = opRead
    	return c, nil
    }
    
    // ReadRune reads and returns the next UTF-8-encoded
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. internal/store/store.go

    	}
    	if vals := strings.Split(key.Name, "."); len(vals) == 2 {
    		key.Extension = "." + vals[1]
    		key.Name = strings.TrimSuffix(key.Name, key.Extension)
    	}
    	return
    }
    
    // replayItems - Reads the items from the store and replays.
    func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key {
    	keyCh := make(chan Key)
    
    	go func() {
    		defer xioutil.SafeClose(keyCh)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.artifact.repository.metadata.io.isStrict";
    
        /**
         * Reads the metadata from the specified file.
         *
         * @param input The file to deserialize the metadata from, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.settings.io.isStrict";
    
        /**
         * Reads the settings from the specified file.
         *
         * @param input The file to deserialize the settings from, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.toolchains.io.isStrict";
    
        /**
         * Reads the toolchains from the specified file.
         *
         * @param input The file to deserialize the toolchains from, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/reader.go

    type MonitoredReader struct {
    	r        io.Reader
    	throttle *bucketThrottle
    	ctx      context.Context // request context
    	lastErr  error           // last error reported, if this non-nil all reads will fail.
    	m        *Monitor
    	opts     *MonitorReaderOptions
    }
    
    // BucketOptions represents the bucket and optionally its replication target pair.
    type BucketOptions struct {
    	Name           string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top