Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for argv (0.16 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      if (!tensorflow::Flags::Parse(&argc, argv, flag_list)) {
        std::cout << tensorflow::Flags::Usage(argv[0], flag_list);
        return -1;
      }
    
      tensorflow::testing::InstallStacktraceHandler();
      tensorflow::ModularFileSystemTest::InitializeTestRNG();
      testing::InitGoogleTest(&argc, argv);
      return RUN_ALL_TESTS();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			if quoted || i > 0 {
    				quoted = false
    				args = append(args, string(arg[:i]))
    				i = 0
    			}
    			continue
    		}
    		arg[i] = r
    		i++
    	}
    	if quoted || i > 0 {
    		args = append(args, string(arg[:i]))
    	}
    	if quote != 0 {
    		err = errors.New("unclosed quote")
    	} else if escaped {
    		err = errors.New("unfinished escaping")
    	}
    	return args, err
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    		// 1 - server prefix
    		// 2 - number sequence for servers
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. cmd/iam.go

    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. docs/bucket/notifications/README.md

    notify_elasticsearch  publish bucket notifications to Elasticsearch endpoints
    notify_redis          publish bucket notifications to Redis datastores
    ```
    
    > NOTE:
    >
    > - '\*' at the end of arg means its mandatory.
    > - '\*' at the end of the values, means its the default value for the arg.
    > - When configured using environment variables, the `:name` can be specified using this format `MINIO_NOTIFY_WEBHOOK_ENABLE_<name>`.
    
    ## Publish MinIO events via AMQP
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  6. istioctl/pkg/describe/describe.go

    		Short:   "Describe resource and related Istio configuration",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown resource type %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace())
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    		return
    	}
    
    	args := policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.ListTemporaryAccountsAdminAction,
    		ConditionValues: getConditionValues(r, "", cred),
    		IsOwner:         owner,
    		Claims:          cred.Claims,
    	}
    
    	if !globalIAMSys.IsAllowed(args) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  8. configure.py

      parser.add_argument(
          '--workspace',
          type=str,
          default=os.path.abspath(os.path.dirname(__file__)),
          help='The absolute path to your active Bazel workspace.')
      args = parser.parse_args()
    
      _TF_WORKSPACE_ROOT = args.workspace
      _TF_BAZELRC = os.path.join(_TF_WORKSPACE_ROOT, _TF_BAZELRC_FILENAME)
    
      # Make a copy of os.environ to be clear when functions and getting and setting
      # environment variables.
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

      // Verify that FunctionDef ArgDef has attributes.
      ASSERT_EQ(func_->record->fdef().arg_attr_size(), 1);
      auto arg_attrs = func_->record->fdef().arg_attr().find(0);
      ASSERT_NE(arg_attrs, func_->record->fdef().arg_attr().end());
      auto iter = arg_attrs->second.attr().find("_test_attr");
      ASSERT_NE(iter, arg_attrs->second.attr().end());
      EXPECT_EQ(iter->second.s(), "value");
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  10. cmd/test-utils_test.go

    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
    	drivesPerSet := len(args)
    	setCount := 1
    	if len(args) >= 16 {
    		drivesPerSet = 16
    		setCount = len(args) / 16
    	}
    	endpoints := mustGetNewEndpoints(poolIdx, drivesPerSet, args...)
    	return []PoolEndpoints{{
    		SetCount:     setCount,
    		DrivesPerSet: drivesPerSet,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top