- Sort Score
- Result 10 results
- Languages All
Results 1201 - 1210 of 1,950 for func (0.02 sec)
-
internal/mountinfo/mountinfo.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.1K bytes - Viewed (0) -
cmd/api-resources_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "net/url" "testing" ) // Test list objects resources V2. func TestListObjectsV2Resources(t *testing.T) { testCases := []struct { values url.Values prefix, token, startAfter, delimiter string fetchOwner bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
cmd/bucket-encryption-handlers.go
bucketSSEConfig = "bucket-encryption.xml" ) // PutBucketEncryptionHandler - Stores given bucket encryption configuration // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html func (api objectAPIHandlers) PutBucketEncryptionHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "PutBucketEncryption") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/api-headers_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.1K bytes - Viewed (0) -
internal/disk/disk_unix.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "syscall" ) // SameDisk reports whether di1 and di2 describe the same disk. func SameDisk(disk1, disk2 string) (bool, error) { st1 := syscall.Stat_t{} st2 := syscall.Stat_t{} if err := syscall.Stat(disk1, &st1); err != nil { return false, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.2K bytes - Viewed (0) -
buildscripts/heal-manual.go
// limitations under the License. // package main import ( "context" "encoding/json" "fmt" "log" "os" "time" "github.com/minio/madmin-go/v3" ) func main() { // Note: YOUR-ACCESSKEYID, YOUR-SECRETACCESSKEY are // dummy values, please replace them with original values. // API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 09:47:58 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/s3select/csv/recordtransform.go
type recordTransform struct { reader io.Reader // recordDelimiter can be up to 2 characters. recordDelimiter []byte oneByte []byte useOneByte bool } func (rr *recordTransform) Read(p []byte) (n int, err error) { if rr.useOneByte { p[0] = rr.oneByte[0] rr.useOneByte = false n, err = rr.reader.Read(p[1:]) n++ } else { n, err = rr.reader.Read(p) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
cni/test/install_k8s_test.go
// Must set chainedCNIPlugin to true if delayedConfFile is specified delayedConfFile string expectedOutputFile string expectedPostCleanFile string cniConfDirOrderedFiles []string } func TestInstall(t *testing.T) { testDataDir := env.IstioSrc + "/cni/test/testdata" cases := []testCase{ { name: "File with pre-plugins--.conflist", chainedCNIPlugin: true,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 23:59:49 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
// the handler should ensure to remove these keys before sending them to the object layer. // Currently these keys are: // - X-Amz-Server-Side-Encryption-Customer-Key // - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key func (api objectAPIHandlers) NewMultipartUploadHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "NewMultipartUpload") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 31 18:25:48 UTC 2024 - 39.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener_test.go
import ( "testing" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3" "istio.io/istio/pkg/wellknown" ) func TestListenerFilter_Verify(t *testing.T) { tests := []struct { desc string inFilter *ListenerFilter inListener *listener.Listener expect bool }{ { desc: "filter-fields-empty",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 4.1K bytes - Viewed (0)