Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 276 for buf1 (0.02 sec)

  1. cmd/xl-storage-format_test.go

    			b.Run("ToFileInfoNew", func(b *testing.B) {
    				b.SetBytes(int64(size))
    				b.ResetTimer()
    				b.ReportAllocs()
    				for i := 0; i < b.N; i++ {
    					buf, _, _ := isIndexedMetaV2(enc)
    					if buf == nil {
    						b.Fatal("buf == nil")
    					}
    					_, err = buf.ToFileInfo("volume", "path", ids[rng.Intn(size)], true)
    					if err != nil {
    						b.Fatal(err)
    					}
    				}
    			})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            // content
            final StringBuilder buf = new StringBuilder(content.length() + 1000);
            if (fessConfig.isCrawlerDocumentFileAppendBodyContent()) {
                buf.append(content);
            }
            if (fessConfig.isCrawlerDocumentFileAppendMetaContent()) {
                if (buf.length() > 0) {
                    buf.append(' ');
                }
                buf.append(contentMeta);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

        }
    
    
        @Override
        public int decode ( byte[] buf, int bi, int len ) {
            this.allow = buf[ bi++ ] == (byte) 0x00;
            this.flags = buf[ bi++ ] & 0xFF;
            int size = SMBUtil.readInt2(buf, bi);
            bi += 2;
            this.access = SMBUtil.readInt4(buf, bi);
            bi += 4;
            this.sid = new SID(buf, bi);
            return size;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineReader.java

          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
          lineBuf.add(buf, 0, read);
        }
        return lines.poll();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/archive/tar/example_test.go

    package tar_test
    
    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                final StringBuilder buf = new StringBuilder(1000);
                                buf.append("[SEARCH TIMEOUT] {\"exec_time\":").append(execTime)//
                                        .append(",\"request\":").append(searchRequestBuilder.toString())//
                                        .append(",\"response\":").append(r.toString()).append('}');
                                logger.warn(buf.toString());
                            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-utils_test.go

    		} else {
    			versions = append(versions, fi)
    			allVersionIDs = append(allVersionIDs, fi.VersionID)
    		}
    	}
    	buf, err := xl.AppendTo(nil)
    	if err != nil {
    		t.Fatalf("Failed to serialize xlmeta %v", err)
    	}
    	fivs, err := getFileInfoVersions(buf, basefi.Volume, basefi.Name, false)
    	if err != nil {
    		t.Fatalf("getFileInfoVersions failed: %v", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        if (StringUtil.isNotBlank(normalizePath)) {
                            buf.append(normalizePath);
                        }
                    }
                    this.includedPaths = Pattern.compile(buf.toString());
                }
    
                if (StringUtil.isNotBlank(excludedPaths)) {
                    final StringBuilder buf = new StringBuilder(100);
                    char split = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt

        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
      private fun assertRoundTrip(data: ByteString) {
        val encodeBuffer = Buffer()
        encode(data, encodeBuffer)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. cmd/metacache-stream.go

    		var current metacacheBlock
    		var n int
    
    		buf := bytebufferpool.Get()
    		defer func() {
    			buf.Reset()
    			bytebufferpool.Put(buf)
    		}()
    
    		block := newMetacacheWriter(buf, 1<<20)
    		defer block.Close()
    		finishBlock := func() {
    			if err := block.Close(); err != nil {
    				w.streamErr = err
    				return
    			}
    			current.data = buf.Bytes()
    			w.streamErr = nextBlock(&current)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top