Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 276 for buf1 (0.02 sec)

  1. cmd/bootstrap-peer-server_gen_test.go

    	v := ServerSystemConfig{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeServerSystemConfig Msgsize() is inaccurate")
    	}
    
    	vn := ServerSystemConfig{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata_gen_test.go

    	v := BucketMetadata{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBucketMetadata Msgsize() is inaccurate")
    	}
    
    	vn := BucketMetadata{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                }
    
                doReceiveFragment(stub, isDirect);
                buf.reset();
                buf.setIndex(8);
                buf.setLength(buf.dec_ndr_short());
    
                if (securityProvider != null)
                    securityProvider.unwrap(buf);
    
                buf.setIndex(0);
    
                msg.decode_header(buf);
    
                off = 24;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/ExecJob.java

        public ExecJob gcLogging() {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
            if (logFilePath != null) {
                buf.append(logFilePath);
            } else {
                buf.append(ComponentUtil.getSystemHelper().getLogFilePath());
            }
            buf.append(File.separator);
            buf.append("gc-").append(getExecuteType()).append(".log");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/archive/zip/zip_test.go

    func (ss *suffixSaver) Suffix() []byte {
    	if len(ss.buf) < ss.keep {
    		return ss.buf
    	}
    	buf := make([]byte, ss.keep)
    	n := copy(buf, ss.buf[ss.start:])
    	copy(buf[n:], ss.buf[:])
    	return buf
    }
    
    func (ss *suffixSaver) Write(p []byte) (n int, err error) {
    	n = len(p)
    	ss.size += int64(len(p))
    	if len(ss.buf) < ss.keep {
    		space := ss.keep - len(ss.buf)
    		add := len(p)
    		if add > space {
    			add = space
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. internal/config/certsinfo.go

    	var buf strings.Builder
    
    	buf.WriteString(color.Blue("\nCertificate:\n"))
    	if cert.SignatureAlgorithm != x509.UnknownSignatureAlgorithm {
    		buf.WriteString(color.Blue("%4sSignature Algorithm: ", "") + color.Bold(fmt.Sprintf("%s\n", cert.SignatureAlgorithm)))
    	}
    
    	// Issuer information
    	buf.WriteString(color.Blue("%4sIssuer: ", ""))
    	printName(cert.Issuer.Names, &buf)
    
    	// Validity information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
    
            appendTimestamp(buf);
            buf.append('}');
    
            if (logger.isInfoEnabled()) {
                logger.info(buf.toString());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/Tokenizer.java

                    }
                    if (i >= buf.length) {
                        final char[] nb = new char[buf.length * 2];
                        System.arraycopy(buf, 0, nb, 0, buf.length);
                        buf = nb;
                    }
                    buf[i++] = (char) c;
                    d = read();
                }
                peekc = d;
                sval = String.copyValueOf(buf, 0, i);
                return true;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. cmd/storage-datatypes_test.go

    )
    
    func BenchmarkDecodeVolInfoMsgp(b *testing.B) {
    	v := VolInfo{
    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            }
    
            int off = this.handle.recv(buf, 0, buf.length);
            if ( buf[ 0 ] != 5 || buf[ 1 ] != 0 ) {
                throw new IOException("Unexpected DCERPC PDU header");
            }
    
            int length = Encdec.dec_uint16le(buf, 8);
            if ( length > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + length);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
Back to top