Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ringbuffer (0.23 sec)

  1. cmd/bitrot-streaming.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"hash"
    	"io"
    	"sync"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/ringbuffer"
    )
    
    // Calculates bitrot in chunks and writes the hash into the stream.
    type streamingBitrotWriter struct {
    	iow          io.WriteCloser
    	closeWithErr func(err error)
    	h            hash.Hash
    	shardSize    int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(StringBuilder.class).toString()).isEmpty();
        assertThat(ArbitraryInstances.get(StringBuffer.class).toString()).isEmpty();
        assertFreshInstanceReturned(
            ArrayList.class,
            HashMap.class,
            Appendable.class,
            StringBuilder.class,
            StringBuffer.class,
            Throwable.class,
            Exception.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(CharBuffer.class, CharBuffer.allocate(0))
              .put(ByteBuffer.class, ByteBuffer.allocate(0))
              .put(ShortBuffer.class, ShortBuffer.allocate(0))
              .put(IntBuffer.class, IntBuffer.allocate(0))
              .put(LongBuffer.class, LongBuffer.allocate(0))
              .put(FloatBuffer.class, FloatBuffer.allocate(0))
              .put(DoubleBuffer.class, DoubleBuffer.allocate(0))
              .put(File.class, new File(""))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(CharBuffer.class, CharBuffer.allocate(0))
              .put(ByteBuffer.class, ByteBuffer.allocate(0))
              .put(ShortBuffer.class, ShortBuffer.allocate(0))
              .put(IntBuffer.class, IntBuffer.allocate(0))
              .put(LongBuffer.class, LongBuffer.allocate(0))
              .put(FloatBuffer.class, FloatBuffer.allocate(0))
              .put(DoubleBuffer.class, DoubleBuffer.allocate(0))
              .put(File.class, new File(""))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      ShortBuffer generateShortBuffer() {
        return ShortBuffer.allocate(generateInt());
      }
    
      @Generates
      IntBuffer generateIntBuffer() {
        return IntBuffer.allocate(generateInt());
      }
    
      @Generates
      LongBuffer generateLongBuffer() {
        return LongBuffer.allocate(generateInt());
      }
    
      @Generates
      FloatBuffer generateFloatBuffer() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      ShortBuffer generateShortBuffer() {
        return ShortBuffer.allocate(generateInt());
      }
    
      @Generates
      IntBuffer generateIntBuffer() {
        return IntBuffer.allocate(generateInt());
      }
    
      @Generates
      LongBuffer generateLongBuffer() {
        return LongBuffer.allocate(generateInt());
      }
    
      @Generates
      FloatBuffer generateFloatBuffer() {
        return FloatBuffer.allocate(generateInt());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return libDir.listFiles(filter);
        }
    
        public static String resolve(final String value) {
            if (value == null) {
                return null;
            }
    
            final StringBuffer tunedText = new StringBuffer(value.length());
            final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})");
            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        }
      }
    
      private static List<String> bufferHelper(String input, int chunk) throws IOException {
        final List<String> lines = Lists.newArrayList();
        LineBuffer lineBuf =
            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/LineBufferTest.java

        }
      }
    
      private static List<String> bufferHelper(String input, int chunk) throws IOException {
        final List<String> lines = Lists.newArrayList();
        LineBuffer lineBuf =
            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
    
            return null;
        }
    
        protected String replaceHighlightQueries(final String cache, final String[] queries) {
            final StringBuffer buf = new StringBuffer(cache.length() + 100);
            final StringBuffer segBuf = new StringBuffer(1000);
            final Pattern p = Pattern.compile("<[^>]+>");
            final Matcher m = p.matcher(cache);
            final String[] regexQueries = new String[queries.length];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top