Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,517 for byte1 (0.05 sec)

  1. cmd/tier_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "Tiers", za0001)
    			return
    		}
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *TierConfigMgr) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. internal/config/policy/plugin/config.go

    	CloseRespFn func(r io.ReadCloser) `json:"-"`
    }
    
    // Validate - validate opa configuration params.
    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    	if a.AuthToken != "" {
    		req.Header.Set("Authorization", a.AuthToken)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/callhome.go

    	_, err := globalSubnetConfig.Upload(url, filename, createHealthJSONGzip(ctx, healthInfo))
    	return err
    }
    
    func createHealthJSONGzip(ctx context.Context, healthInfo madmin.HealthInfo) []byte {
    	var b bytes.Buffer
    	gzWriter := gzip.NewWriter(&b)
    
    	header := struct {
    		Version string `json:"version"`
    	}{Version: healthInfo.Version}
    
    	enc := json.NewEncoder(gzWriter)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. cmd/bootstrap-peer-server_gen.go

    	o = msgp.AppendString(o, z.Checksum)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *ServerSystemConfig) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1_gen.go

    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BitrotAlgorithm) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint(o, uint(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BitrotAlgorithm) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint
    		zb0001, bts, err = msgp.ReadUintBytes(bts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		// Short Content-Md5 header.
    		{mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest},
    		// When request is properly signed, but has bad Content-MD5 header.
    		{mustNewSignedBadMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrBadDigest},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle_test.go

    		},
    		{
    			// no transition rule
    			xml:         []byte(`<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ID>rule</ID><Prefix /><Status>Enabled</Status><Expiration><Days>1</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedErr: nil,
    		},
    	}
    	for i, tc := range testCases {
    		lc, err := lifecycle.ParseLifecycleConfig(bytes.NewReader(tc.xml))
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * 
         */
        public static final byte SMB_COM_QUERY_INFORMATION = (byte) 0x08;
    
        /**
         * 
         */
        public static final byte SMB_COM_SET_INFORMATION = (byte) 0x09;
    
        /**
         * 
         */
        public static final byte SMB_COM_WRITE = (byte) 0x0B;
    
        /**
         * 
         */
        public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            reader.read("ANY") { header ->
              val bytes = reader.readUnknown()
              return AnyValue(
                tagClass = header.tagClass,
                tag = header.tag,
                constructed = header.constructed,
                length = header.length,
                bytes = bytes,
              )
            }
          }
    
          override fun toDer(
            writer: DerWriter,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    // an enscapsulated writer upto a certain length
    // and skip a certain number of bytes.
    type LimitWriter struct {
    	io.Writer
    	skipBytes int64
    	wLimit    int64
    }
    
    // Write implements the io.Writer interface limiting upto
    // configured length, also skips the first N bytes.
    func (w *LimitWriter) Write(p []byte) (n int, err error) {
    	n = len(p)
    	var n1 int
    	if w.skipBytes > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top