Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for var (0.04 sec)

  1. cmd/storage-datatypes_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *DeleteOptions) 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
    	}
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		adminLogIf(ctx, fmt.Errorf("Unrecognized service action %s requested", action), logger.ErrorKind)
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    		return
    	}
    
    	var objectAPI ObjectLayer
    	var execAt *time.Time
    	switch serviceSig {
    	case serviceRestart:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceRestartAdminAction)
    		t := time.Now().Add(restartUpdateDelay)
    		execAt = &t
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		var ruleARN string
    		for _, r := range replicationConfig.Rules {
    			if r.ID == ruleID {
    				hasRule = true
    				ruleARN = r.Destination.Bucket
    			}
    		}
    
    		ep, _ := url.Parse(peer.Endpoint)
    		var targets []madmin.BucketTarget
    		if targetsPtr, _ := globalBucketTargetSys.ListBucketTargets(ctx, bucket); targetsPtr != nil {
    			targets = targetsPtr.Targets
    		}
    		targetARN := ""
    		var updateTgt, updateBW bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    
    <pre class="ebnf">
    VarDecl     = "var" ( VarSpec | "(" { VarSpec ";" } ")" ) .
    VarSpec     = IdentifierList ( Type [ "=" ExpressionList ] | "=" ExpressionList ) .
    </pre>
    
    <pre>
    var i int
    var U, V, W float64
    var k = 0
    var x, y float32 = -1, -2
    var (
    	i       int
    	u, v, s = 2.0, 3.0, "bar"
    )
    var re, im = complexSqrt(-1)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	if opts == nil {
    		opts = &validateReplicationDestinationOptions{}
    	}
    	var arns []string
    	if rCfg.RoleArn != "" {
    		arns = append(arns, rCfg.RoleArn)
    	} else {
    		for _, rule := range rCfg.Rules {
    			arns = append(arns, rule.Destination.String())
    		}
    	}
    	var sameTarget bool
    	for _, arnStr := range arns {
    		arn, err := madmin.ParseARN(arnStr)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidSSECustomerAlgorithm), r.URL)
    		return
    	}
    
    	var oldKey, newKey []byte
    	var newKeyID string
    	var kmsCtx kms.Context
    	var objEncKey crypto.ObjectKey
    	sseCopyKMS := crypto.S3KMS.IsEncrypted(srcInfo.UserDefined)
    	sseCopyS3 := crypto.S3.IsEncrypted(srcInfo.UserDefined)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	var err error
    
    	var opts ObjectOptions
    	// object used for the test.
    	objectName := "test-object-new-multipart"
    
    	// upload IDs collected.
    	var uploadIDs []string
    
    	for i := 0; i < 2; i++ {
    		// initiate new multipart uploadID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		if m.Aggregated.BatchJobs == nil {
    			return
    		}
    
    		for _, mj := range m.Aggregated.BatchJobs.Jobs {
    			jtype := toSnake(mj.JobType)
    			var objects, objectsFailed float64
    			var bucket string
    			switch madmin.BatchJobType(mj.JobType) {
    			case madmin.BatchJobReplicate:
    				objects = float64(mj.Replicate.Objects)
    				objectsFailed = float64(mj.Replicate.ObjectsFailed)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

      @RegisterExtension
      val platform = PlatformRule()
      private lateinit var server: MockWebServer
      private lateinit var server2: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private lateinit var client: OkHttpClient
      private lateinit var cache: Cache
      private val cookieManager = CookieManager()
    
      @BeforeEach
      fun setUp(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      val clientTestRule = OkHttpClientTestRule()
    
      @TempDir
      lateinit var tempDir: File
    
      private lateinit var server: MockWebServer
      private lateinit var server2: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private var client = clientTestRule.newClient()
      private var cache: Cache? = null
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top