Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 392 for Mutation (0.14 sec)

  1. internal/http/dial_linux.go

    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    // NewInternodeDialContext setups a custom dialer for internode communication
    func NewInternodeDialContext(dialTimeout time.Duration, opts TCPOptions) DialContext {
    	return func(ctx context.Context, network, addr string) (net.Conn, error) {
    		dialer := &net.Dialer{
    			Timeout: dialTimeout,
    			Control: setTCPParametersFn(opts),
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

    /* Encodes and decodes to and from Base64 notation.
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    	for i := 0; i < 5; i++ {
    		fivs[i] = FileInfo{
    			Volume:      bucket,
    			Name:        obj,
    			VersionID:   uuids[i].String(),
    			IsLatest:    i == 0,
    			ModTime:     modTime.Add(-1 * time.Duration(i) * time.Minute),
    			Size:        1 << 10,
    			NumVersions: 5,
    		}
    	}
    	versioned := vcfg.Status == "Enabled"
    	wants := make([]ObjectInfo, 2)
    	for i, fi := range fivs[:2] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  6. internal/handlers/forwarder.go

    package handlers
    
    import (
    	"context"
    	"net"
    	"net/http"
    	"net/http/httputil"
    	"net/url"
    	"strings"
    	"sync"
    	"time"
    )
    
    const defaultFlushInterval = time.Duration(100) * time.Millisecond
    
    // Forwarder forwards all incoming HTTP requests to configured transport.
    type Forwarder struct {
    	RoundTripper http.RoundTripper
    	PassHost     bool
    	Logger       func(error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  8. cmd/update.go

    	}
    	uaAppend(")", "")
    
    	return strings.Join(userAgentParts, "")
    }
    
    func downloadReleaseURL(u *url.URL, timeout time.Duration, mode string) (content string, err error) {
    	req, err := http.NewRequest(http.MethodGet, u.String(), nil)
    	if err != nil {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. internal/config/identity/plugin/config.go

    const (
    	minValidityDurationSeconds int = 900
    	maxValidityDurationSeconds int = 365 * 24 * 3600
    )
    
    // Authenticate authenticates the token with the external hook endpoint and
    // returns a parent user, max expiry duration for the authentication and a set
    // of claims.
    func (o *AuthNPlugin) Authenticate(roleArn arn.ARN, token string) (AuthNResponse, error) {
    	if o == nil {
    		return AuthNResponse{}, 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)
  10. cmd/xl-storage-format-utils_test.go

    	var versions []FileInfo
    	var allVersionIDs, freeVersionIDs []string
    	for i := 0; i < 5; i++ {
    		fi := basefi
    		fi.VersionID = mustGetUUID()
    		fi.DataDir = mustGetUUID()
    		fi.ModTime = basefi.ModTime.Add(time.Duration(i) * time.Second)
    		if err := xl.AddVersion(fi); err != nil {
    			t.Fatalf("%d: Failed to add version %v", i+1, err)
    		}
    
    		if i > 3 {
    			// Simulate transition of a version
    			transfi := fi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top