Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for Modifier (0.15 sec)

  1. cmd/api-headers.go

    	}
    }
    
    // Write object header
    func setObjectHeaders(w http.ResponseWriter, objInfo ObjectInfo, rs *HTTPRangeSpec, opts ObjectOptions) (err error) {
    	// set common headers
    	setCommonHeaders(w)
    
    	// Set last modified time.
    	lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat)
    	w.Header().Set(xhttp.LastModified, lastModified)
    
    	// Set Etag if available.
    	if objInfo.ETag != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  2. cmd/data-scanner-metric.go

    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    func (p *scannerMetrics) getCycle() *currentScannerCycle {
    	p.cycleInfoMu.Lock()
    	defer p.cycleInfoMu.Unlock()
    	if p.cycleInfo == nil {
    		return nil
    	}
    	c := p.cycleInfo.clone()
    	return &c
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    	injectCmd.PersistentFlags().StringVarP(&inFilename, "filename", "f",
    		"", "Input Kubernetes resource filename")
    	injectCmd.PersistentFlags().StringVarP(&outFilename, "output", "o",
    		"", "Modified output Kubernetes resource filename")
    	injectCmd.PersistentFlags().StringVar(&iopFilename, "operatorFileName", "",
    		"Path to file containing IstioOperator custom resources. If configs from files like "+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. src/archive/zip/writer_test.go

    		}
    	}
    }
    
    func TestWriterTime(t *testing.T) {
    	var buf bytes.Buffer
    	h := &FileHeader{
    		Name:     "test.txt",
    		Modified: time.Date(2017, 10, 31, 21, 11, 57, 0, timeZone(-7*time.Hour)),
    	}
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(h); err != nil {
    		t.Fatalf("unexpected CreateHeader error: %v", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    		copySourceHeader     string // data for "X-Amz-Copy-Source" header. Contains the object to be copied in the URL.
    		copyModifiedHeader   string // data for "X-Amz-Copy-Source-If-Modified-Since" header
    		copyUnmodifiedHeader string // data for "X-Amz-Copy-Source-If-Unmodified-Since" header
    		copySourceSame       bool
    		metadataGarbage      bool
    		metadataReplace      bool
    		metadataCopy         bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/notification.go

    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.DeletePolicy(policyName)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // LoadPolicy - reloads a specific modified policy across all peers
    func (sys *NotificationSys) LoadPolicy(policyName string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	}
    	return fmt.Sprintf(tr.Repr, tr.FormatArgs...)
    }
    
    // Empty reports whether the result of String would be "".
    func (tr *TypeRepr) Empty() bool {
    	return len(tr.Repr) == 0
    }
    
    // Set modifies the type representation.
    // If fargs are provided, repr is used as a format for fmt.Sprintf.
    // Otherwise, repr is used unprocessed as the type representation.
    func (tr *TypeRepr) Set(repr string, fargs ...interface{}) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    	if f.Name != ft.Name {
    		t.Errorf("name=%q, want %q", f.Name, ft.Name)
    	}
    	if !ft.Modified.IsZero() && !equalTimeAndZone(f.Modified, ft.Modified) {
    		t.Errorf("%s: Modified=%s, want %s", f.Name, f.Modified, ft.Modified)
    	}
    	if !ft.ModTime.IsZero() && !equalTimeAndZone(f.ModTime(), ft.ModTime) {
    		t.Errorf("%s: ModTime=%s, want %s", f.Name, f.ModTime(), ft.ModTime)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. internal/http/headers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    // Standard S3 HTTP response constants
    const (
    	LastModified       = "Last-Modified"
    	Date               = "Date"
    	ETag               = "ETag"
    	ContentType        = "Content-Type"
    	ContentMD5         = "Content-Md5"
    	ContentEncoding    = "Content-Encoding"
    	Expires            = "Expires"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  10. docs/sts/ldap.go

    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top