Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for check (0.04 sec)

  1. cmd/sts-handlers_test.go

    	// 1. Check S3 access for service account ListObjects()
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	// 2. Check S3 access for upload
    	c.mustUpload(ctx, svcClient, bucket)
    
    	// 3. Check S3 access for download
    	c.mustDownload(ctx, svcClient, bucket)
    }
    
    func (s *TestSuiteIAM) TestSTSWithDenyDeleteVersion(c *check) {
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-10-10 23:40
    - 97.1K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    	postPolicyBucketTagging = "tagging"
    )
    
    // Check if there are buckets on server without corresponding entry in etcd backend and
    // make entries. Here is the general flow
    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-09-12 12:24
    - 63.4K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	}
    }
    
    // Test xlStorage.VerifyFile()
    func TestXLStorageVerifyFile(t *testing.T) {
    	// We test 4 cases:
    	// 1) Whole-file bitrot check on proper file
    	// 2) Whole-file bitrot check on corrupted file
    	// 3) Streaming bitrot check on proper file
    	// 4) Streaming bitrot check on corrupted file
    
    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-08-14 17:11
    - 66.7K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	}
    
    	// We know XFS already supports O_DIRECT no need to check.
    	if fsType == "XFS" {
    		return nil
    	}
    
    	// For all other FS pay the price of not using our recommended filesystem.
    
    	// Check if backend is writable and supports O_DIRECT
    	uuid := mustGetUUID()
    	filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp")
    
    	// Create top level directories if they don't exist.
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-10-26 09:58
    - 91.3K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	var updatedAt time.Time
    	if updReq.IsRemove {
    		updatedAt, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members)
    	} else {
    		// Check if group already exists
    		if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
    			// If group does not exist, then check if the group has beginning and end space characters
    			// we will reject such group names.
    			if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(updReq.Group) {
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-10-03 23:11
    - 85.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    			fmt.Fprintf(&sb, "var _cgo%d %s = %s; ", i,
    				gofmt(ptype), gofmtPos(arg, origArg.Pos()))
    			continue
    		}
    
    		// Check for &a[i].
    		if p.checkIndex(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for &x.
    		if p.checkAddr(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for a[:].
    		if p.checkSlice(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    Registered: 2024-11-05 11:13
    - Last Modified: 2024-09-18 15:07
    - 97.1K bytes
    - Viewed (0)
  7. cmd/iam.go

    		}
    		svcPolicies = newMappedPolicy(sys.rolesMap[arn]).toSlice()
    	default:
    		// Check policy for parent user of service account.
    		svcPolicies, err = sys.PolicyDBGet(parentUser, args.Groups...)
    		if err != nil {
    			iamLogIf(GlobalContext, err)
    			return false
    		}
    
    		// Finally, if there is no parent policy, check if a policy claim is
    		// present.
    		if len(svcPolicies) == 0 {
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-10-29 16:01
    - 74.6K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    		b.WriteString("1234")
    		tw.check(t, "", "")
    		b.WriteString("56789012")   // longer than BufSize
    		tw.check(t, "12345678", "") // but not enough (after filling the partially-filled buffer)
    		b.Flush()
    		tw.check(t, "123456789012", "")
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("123456789")   // long string, empty buffer:
    		tw.check(t, "", "123456789") // use WriteString
    	}
    Registered: 2024-11-05 11:13
    - Last Modified: 2024-11-01 21:52
    - 51.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    // Specification for expected input/output and its type.
    // DataType value of DT_INVALID signifies that we don't want to
    // check the data type.
    typedef std::pair<string, DataType> IOSpec;
    
    const char* kFeedStackToString = "File \"feed.cc\", line 10, in alpha";
    const char* kNegStackToString = "File \"neg.cc\", line 15, in beta";
    
    Registered: 2024-11-05 12:39
    - Last Modified: 2023-07-20 22:08
    - 63.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      }
    
      private fun verifyClientState() {
        check(null !in (interceptors as List<Interceptor?>)) {
          "Null interceptor: $interceptors"
        }
        check(null !in (networkInterceptors as List<Interceptor?>)) {
          "Null network interceptor: $networkInterceptors"
        }
    
        if (connectionSpecs.none { it.isTls }) {
          check(sslSocketFactoryOrNull == null)
          check(certificateChainCleaner == null)
    Registered: 2024-11-01 11:42
    - Last Modified: 2024-04-06 04:21
    - 52K bytes
    - Viewed (0)
Back to top