Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,182 for leader (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/dsync/lock-args_gen.go

    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    package dsync
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *LockArgs) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. cmd/post-policy_test.go

    		t.Fatalf("Test %s: Failed to create HTTP request for PostPolicyHandler: <ERROR> %v", instanceType, perr)
    	}
    
    	contentTypeHdr := req.Header.Get("Content-Type")
    	contentTypeHdr = strings.Replace(contentTypeHdr, "multipart/form-data", "multipart/form-datA", 1)
    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/lifecycle.go

    			lc.Rules[i].ID = uuid.New().String()
    		}
    	}
    	return &lc, nil
    }
    
    // ParseLifecycleConfig - parses data in given reader to Lifecycle.
    func ParseLifecycleConfig(reader io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(reader).Decode(&lc); err != nil {
    		return nil, err
    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  4. cmd/admin-bucket-handlers.go

    	defer zipWriter.Close()
    
    	rawDataFn := func(r io.Reader, filename string, sz int) {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr == nil {
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr == nil {
    				io.Copy(zwriter, r)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/security/index.md

    OpenAPI define os seguintes esquemas de segurança:
    
    * `apiKey`: uma chave específica de aplicação que pode vir de:
        * Um parâmetro query.
        * Um header.
        * Um cookie.
    * `http`: padrão HTTP de sistemas autenticação, incluindo:
        * `bearer`: um header de `Authorization` com valor de `Bearer` adicionado de um token. Isso é herança do OAuth2.
        * HTTP Basic authentication.
        * HTTP Digest, etc.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:17:03 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
    
            // Add multiple headers
            request.header("Accept", "application/json").header("Content-Type", "application/json").header("Authorization", "Bearer token123")
                    .header("X-Custom-Header", "custom-value");
    
            assertNotNull(request);
        }
    
        @Test
        public void testGzipSetsCompressionToGzip() {
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. cmd/bucket-replication-utils_gen.go

    func (z *MRFReplicateEntries) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "e"
    	o = append(o, 0x82, 0xa1, 0x65)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Entries)))
    	for za0001, za0002 := range z.Entries {
    		o = msgp.AppendString(o, za0001)
    		// map header, size 3
    		// string "b"
    		o = append(o, 0x83, 0xa1, 0x62)
    		o = msgp.AppendString(o, za0002.Bucket)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 59.3K bytes
    - Click Count (0)
  8. internal/http/response-recorder.go

    	}
    	if err != nil {
    		return n, err
    	}
    	return n, err
    }
    
    // Write the headers into the given buffer
    func (lrw *ResponseRecorder) writeHeaders(w io.Writer, statusCode int, headers http.Header) {
    	n, _ := fmt.Fprintf(w, "%d %s\n", statusCode, http.StatusText(statusCode))
    	lrw.headerBytesWritten += n
    	for k, v := range headers {
    		n, _ := fmt.Fprintf(w, "%s: %s\n", k, v[0])
    		lrw.headerBytesWritten += n
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. src/archive/zip/writer.go

    		b.uint16(h.ModifiedTime)
    		b.uint16(h.ModifiedDate)
    		b.uint32(h.CRC32)
    		if h.isZip64() || h.offset >= uint32max {
    			// the file needs a zip64 header. store maxint in both
    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. cmd/xl-storage-format-v2_gen.go

    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    	o = append(o, 0x80|uint8(zb0001Len))
    	if (zb0001Mask & 0x1) == 0 { // if not omitted
    		// string "V2Obj"
    		o = append(o, 0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a)
    		if z.ObjectV2 == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			// map header, size 1
    			// string "DDir"
    			o = append(o, 0x81, 0xa4, 0x44, 0x44, 0x69, 0x72)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 55.8K bytes
    - Click Count (0)
Back to Top