Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setLine (0.19 sec)

  1. cmd/test-utils_test.go

    		if actualError.Key != objectName {
    			t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value"))
    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    	// Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
    	anonReq.Header.Set("Authorization", "nothingElse")
    	// initialize new response recorder.
    	rec = httptest.NewRecorder()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    		// Test case containing prefix values.
    		// Setting prefix to be equal to object name.(Test number 22).
    		{bucketNames[0], "minio-object-1.txt", "", "", "", 2, listMultipartResults[9], nil, true},
    		// Setting `prefix` to contain the object name as its prefix (Test number 23).
    		{bucketNames[0], "min", "", "", "", 2, listMultipartResults[10], nil, true},
    		// Setting `prefix` to contain the object name as its prefix (Test number 24).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    		// Setting a non-existing directory to be prefix (12-13).
    		{"empty-bucket", "europe/france/", "", "", 1, ListObjectsInfo{}, nil, true},
    		{"empty-bucket", "africa/tunisia/", "", "", 1, ListObjectsInfo{}, nil, true},
    		// Testing on empty bucket, that is, bucket without any objects in it (14).
    		{"empty-bucket", "", "", "", 0, ListObjectsInfo{}, nil, true},
    		// Setting maxKeys to negative value (15-16).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			rootDrive, err = disk.IsRootDisk(s.drivePath, SlashSeparator)
    			if err != nil {
    				return nil, err
    			}
    		}
    		if rootDrive {
    			return s, errDriveIsRoot
    		}
    	}
    
    	// Sanitize before setting it
    	if info.NRRequests > 0 {
    		s.nrRequests = info.NRRequests
    	}
    
    	// We stagger listings only on HDDs.
    	if info.Rotational == nil || *info.Rotational {
    		s.rotational = true
    		s.walkMu = &sync.Mutex{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    		c.Fatalf("unexpected non-access-denied err: %v", err)
    	}
    
    	// Remove the policy assignment on the user DN:
    	err = s.adm.SetPolicy(ctx, "", userDN, false)
    	if err != nil {
    		c.Fatalf("Unable to remove policy setting: %v", err)
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create a user with no associated policy!")
    	}
    
    	// Set policy via group and validate policy assignment.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/iam.go

    			// Policies mapped to the DN's are the same, so we remove the extra
    			// ones from the map.
    			for i := 1; i < len(origKeys); i++ {
    				delete(policyMap, origKeys[i])
    
    				// Remove the mapping from storage by setting the policy to "".
    				if entityKeysInStorage.Contains(origKeys[i]) {
    					// Ignore any deletion error.
    					_, _ = sys.PolicyDBSet(ctx, origKeys[i], "", stsUser, isGroup)
    				}
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/admin-handlers-users.go

    				writeErrorResponseJSON(ctx, w, importErrorWithAPIErr(ctx, ErrAdminConfigBadJSON, err, userPolicyMappingsFile, ""), r.URL)
    				return
    			}
    			for u, pm := range userPolicyMap {
    				// disallow setting policy mapping if user is a temporary user
    				ok, _, err := globalIAMSys.IsTempUser(u)
    				if err != nil && err != errNoSuchUser {
    					writeErrorResponseJSON(ctx, w, importError(ctx, err, userPolicyMappingsFile, u), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		if r.Name.Kind == "func" {
    			error_(r.Pos(), "must call C.%s", fixGo(r.Name.Go))
    		}
    	}
    	return expr
    }
    
    // gofmtPos returns the gofmt-formatted string for an AST node,
    // with a comment setting the position before the node.
    func gofmtPos(n ast.Expr, pos token.Pos) string {
    	s := gofmtLine(n)
    	p := fset.Position(pos)
    	if p.Column == 0 {
    		return s
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top