Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for headerFile (0.08 sec)

  1. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            <module name="SuppressionCommentFilter"/>
            <!-- to enable SuppressWarningsFilter -->
            <module name="SuppressWarningsHolder"/>
        </module>
        <module name="RegexpHeader">
            <property name="headerFile" value="${config_loc}/required-header.txt"/>
        </module>
        <module name="FileTabCharacter"/>
        <module name="RegexpSingleline">
            <property name="format" value="File \| Settings \| File Templates"/>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/reader.go

    	need := len(buf)         // number of bytes requested by caller
    	hdr := r.opts.HeaderSize // remaining header bytes
    	var tokens int           // number of tokens to request
    
    	if hdr > 0 { // available tokens go towards header first
    		if hdr < b { // all of header can be accommodated
    			r.opts.HeaderSize = 0
    			need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. internal/http/response-recorder.go

    		flusher.Flush()
    	}
    }
    
    // Size - returns  the number of bytes written
    func (lrw *ResponseRecorder) Size() int {
    	return lrw.bytesWritten
    }
    
    // HeaderSize - returns the number of bytes of response headers written
    func (lrw *ResponseRecorder) HeaderSize() int {
    	return lrw.headerBytesWritten
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/logger/audit.go

    		if ok {
    			statusCode = tc.ResponseRecorder.StatusCode
    			outputBytes = int64(tc.ResponseRecorder.Size())
    			headerBytes = int64(tc.ResponseRecorder.HeaderSize())
    			timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime)
    			timeToFirstByte = tc.ResponseRecorder.TTFB()
    		}
    
    		entry.AccessKey = reqInfo.Cred.AccessKey
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    			Host:       globalLocalNodeName,
    		})
    		return
    	}
    
    	var headerSize int
    	for k, v := range putOpts.Header() {
    		headerSize += len(k) + len(v)
    	}
    
    	opts := &bandwidth.MonitorReaderOptions{
    		BucketOptions: bandwidth.BucketOptions{
    			Name:           ri.Bucket,
    			ReplicationARN: tgt.ARN,
    		},
    		HeaderSize: headerSize,
    	}
    	newCtx := ctx
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top