Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for nil (0.02 sec)

  1. cmd/admin-handlers.go

    			isDir:   si.Dir,
    			sys:     nil,
    		})
    		if zerr != nil {
    			bugLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := inspectZipW.CreateHeader(header)
    		if zerr != nil {
    			bugLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Recursive)
    	if err != nil {
    		err = msgp.WrapError(err, "Recursive")
    		return
    	}
    	// write "i"
    	err = en.Append(0xa1, 0x69)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Immediate)
    	if err != nil {
    		err = msgp.WrapError(err, "Immediate")
    		return
    	}
    	// write "u"
    	err = en.Append(0xa1, 0x75)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if globalDNSConfig != nil {
    		if err := globalDNSConfig.Delete(bucket); err != nil {
    			return err
    		}
    	}
    	err := objAPI.DeleteBucket(ctx, bucket, opts)
    	if err != nil {
    		if globalDNSConfig != nil {
    			if err2 := globalDNSConfig.Put(bucket); err2 != nil {
    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. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the HTTP request.
    	response, err = s.client.Do(request)
    
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, "my-object-directory/"),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the HTTP request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    	})
    	if err != nil {
    		return nil, err
    	}
    	core.SetAppInfo("minio-federated", ReleaseTag)
    	return core, nil
    }
    
    // Check if the destination bucket is on a remote site, this code only gets executed
    // when federation is enabled, ie when globalDNSConfig is non 'nil'.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	nilReq, err := newTestSignedRequestV4(http.MethodHead, getGetObjectURL("", nilBucket, nilObject),
    		0, nil, "", "", nil)
    	if err != nil {
    		t.Errorf("MinIO %s: Failed to create HTTP request for testing the response when object Layer is set to `nil`.", instanceType)
    	}
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` manages the operation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	if err != nil {
    		return nil, proxy, err
    	}
    	closeReader := func() { obj.Close() }
    	reader, err := fn(obj, h, closeReader)
    	if err != nil {
    		return nil, proxy, err
    	}
    	reader.ObjInfo = oi.Clone()
    	if rs != nil {
    		contentSize, err := parseSizeFromContentRange(h)
    		if err != nil {
    			return nil, proxy, err
    		}
    		reader.ObjInfo.Size = contentSize
    	}
    
    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/metrics-v2.go

    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalKMS {
    				if GlobalKMS == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalLambdaTargetList {
    				if globalLambdaTargetList == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalIAMSys {
    				if globalIAMSys == nil {
    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. doc/go1.17_spec.html

    <a href="#Predeclared_identifiers"><code>nil</code></a>;
    that case is selected when the expression in the TypeSwitchGuard
    is a <code>nil</code> interface value.
    There may be at most one <code>nil</code> case.
    </p>
    
    <p>
    Given an expression <code>x</code> of type <code>interface{}</code>,
    the following type switch:
    </p>
    
    <pre>
    switch i := x.(type) {
    case nil:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.5.md

    * AWS: Recognize ca-central-1 region ([#38410](https://github.com/kubernetes/kubernetes/pull/38410), [@justinsb](https://github.com/justinsb))
    * fix nil dereference when doing a volume type check on persistent volumes ([#39529](https://github.com/kubernetes/kubernetes/pull/39529), [@sjenning](https://github.com/sjenning))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
Back to top