Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 592 for x_const (0.09 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

    // - a string representing the tracing implementation: "mlir" or "graphdef".
    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        absl::Status s = StatusFromTF_Status(status.get());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    		listKey, trimmedItem := splitPath(item.Item, secondIndex)
    		if listKey == iamFormatFile {
    			continue
    		}
    
    		res[listKey] = append(res[listKey], trimmedItem)
    	}
    
    	return res, nil
    }
    
    const (
    	maxIAMLoadOpTime = 5 * time.Second
    )
    
    func (iamOS *IAMObjectStore) loadPolicyDocConcurrent(ctx context.Context, policies ...string) ([]PolicyDoc, error) {
    	policyDocs := make([]PolicyDoc, len(policies))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    				if len(fieldBuf) < attrSize {
    					continue parseExtras
    				}
    				attrBuf := fieldBuf.sub(attrSize)
    				if attrTag != 1 || attrSize != 24 {
    					continue // Ignore irrelevant attributes
    				}
    
    				const ticksPerSecond = 1e7    // Windows timestamp resolution
    				ts := int64(attrBuf.uint64()) // ModTime since Windows epoch
    				secs := ts / ticksPerSecond
    				nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    	"github.com/minio/minio/internal/mountinfo"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"golang.org/x/exp/slices"
    )
    
    // EndpointType - enum for endpoint type.
    type EndpointType int
    
    const (
    	// PathEndpointType - path style endpoint type enum.
    	PathEndpointType EndpointType = iota + 1
    
    	// URLEndpointType - URL style endpoint type enum.
    	URLEndpointType
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    		copy(disks, s.erasureDisks[setIndex])
    		return disks
    	}
    }
    
    // defaultMonitorConnectEndpointInterval is the interval to monitor endpoint connections.
    // Must be bigger than defaultMonitorNewDiskInterval.
    const defaultMonitorConnectEndpointInterval = defaultMonitorNewDiskInterval + time.Second*5
    
    // Initialize new set of erasure coded sets.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    		c.Fatalf("unable to setup LDAP for tests: %v", err)
    	}
    
    	s.RestartIAMSuite(c)
    }
    
    const (
    	EnvTestLDAPServer = "_MINIO_LDAP_TEST_SERVER"
    )
    
    func TestIAMWithLDAPServerSuite(t *testing.T) {
    	for i, testCase := range iamTestSuites {
    		t.Run(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    func testCreateBucket(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	bucketName1 := fmt.Sprintf("%s-1", bucketName)
    
    	const n = 100
    	start := make(chan struct{})
    	var ok, errs int
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	wg.Add(n)
    	for i := 0; i < n; i++ {
    		go func() {
    			defer wg.Done()
    			// Sync start.
    			<-start
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    	if want == 0 {
    		t.Errorf("%s mode: got %v, want none", f.Name, mode)
    	} else if mode != want {
    		t.Errorf("%s mode: want %v, got %v", f.Name, want, mode)
    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	return save(name, time.Minute)
    }
    
    // dataUsageCacheVer indicates the cache version.
    // Bumping the cache version will drop data from previous versions
    // and write new data with the new version.
    const (
    	dataUsageCacheVerCurrent = 8
    	dataUsageCacheVerV7      = 7
    	dataUsageCacheVerV6      = 6
    	dataUsageCacheVerV5      = 5
    	dataUsageCacheVerV4      = 4
    	dataUsageCacheVerV3      = 3
    	dataUsageCacheVerV2      = 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    // DefaultSkewTime - skew time is 15 minutes between minio peers.
    const DefaultSkewTime = 15 * time.Minute
    
    // validateStorageRequestToken will validate the token against the provided audience.
    func validateStorageRequestToken(token string) error {
    	claims := xjwt.NewStandardClaims()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top