Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 589 for Encoder (0.1 sec)

  1. api/go1.10.txt

    pkg encoding/hex, func NewDecoder(io.Reader) io.Reader
    pkg encoding/hex, func NewEncoder(io.Writer) io.Writer
    pkg encoding/json, method (*Decoder) DisallowUnknownFields()
    pkg encoding/xml, func NewTokenDecoder(TokenReader) *Decoder
    pkg encoding/xml, type TokenReader interface { Token }
    pkg encoding/xml, type TokenReader interface, Token() (Token, error)
    pkg flag, method (*FlagSet) ErrorHandling() ErrorHandling
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    	u.RawQuery = q.Encode()
    
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, u.String(), nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    }
    
    func (x *xlMetaV2) addVersion(ver xlMetaV2Version) error {
    	modTime := ver.getModTime().UnixNano()
    	if !ver.Valid() {
    		return errors.New("attempted to add invalid version")
    	}
    	encoded, err := ver.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	// returns error if we have exceeded configured object max versions
    	if int64(len(x.versions)+1) > globalAPIConfig.getObjectMaxVersions() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    		return
    	}
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case entry, ok := <-diffCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(entry); err != nil {
    				return
    			}
    			if len(diffCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    		case <-keepAliveTicker.C:
    			if len(diffCh) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    // boundary of the block containing the last newline.
    //
    // Note that the GNU manual says that numeric values should be encoded in octal
    // format. However, the GNU tar utility itself outputs these values in decimal.
    // As such, this library treats values as being encoded in decimal.
    func readGNUSparseMap1x0(r io.Reader) (sparseDatas, error) {
    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    		}
    	}
    }
    
    var scanTests = []string{
    	"",
    	"a",
    	"¼",
    	"☹",
    	"\x81",   // UTF-8 error
    	"\uFFFD", // correctly encoded RuneError
    	"abcdefgh",
    	"abc def\n\t\tgh    ",
    	"abc¼☹\x81\uFFFD日本語\x82abc",
    }
    
    func TestScanByte(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. cmd/metrics.go

    			}
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. cmd/metacache-stream.go

    //
    // The stream is s2 compressed.
    // https://github.com/klauspost/compress/tree/master/s2#s2-compression
    // This ensures integrity and reduces the size typically by at least 50%.
    //
    // All stream elements are msgpack encoded.
    //
    // 1 Integer, metacacheStreamVersion of the writer.
    // This can be used for managing breaking changes.
    //
    // For each element:
    // 1. Bool. If false at end of stream.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.DfsReferralData;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  10. internal/grid/types.go

    	if j.val == nil {
    		return msgp.AppendNil(b), nil
    	}
    	buf := bytes.NewBuffer(GetByteBuffer()[:0])
    	defer func() {
    		PutByteBuffer(buf.Bytes())
    	}()
    	enc := json.NewEncoder(buf)
    	err = enc.Encode(j.val)
    	if err != nil {
    		return b, err
    	}
    	return msgp.AppendBytes(b, buf.Bytes()), nil
    }
    
    // UnmarshalMsg will JSON marshal the value and wrap as a msgp byte array.
    // Nil values are supported.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top