Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for argc (0.18 sec)

  1. tensorflow/c/c_test.c

      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. callbacks/preload.go

    //		clause.Associations: {"arg1"},
    //		"k1":                {"arg2"},
    //		"k2.k3":             {"arg3"},
    //		"k4.k5.k6":          {"arg4"},
    //	})
    //	// preloadMap is
    //	map[string]map[string][]interface{}{
    //		"k0": {},
    //		"k7": {
    //			"k8": {},
    //		},
    //		"k1": {},
    //		"k2": {
    //			"k3": {"arg3"},
    //		},
    //		"k4": {
    //			"k5.k6": {"arg4"},
    //		},
    //	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    	// None of the args have ellipses use the old style.
    	if ok {
    		setArgs, err = GetAllSets(setDriveCount, args...)
    		if err != nil {
    			return err
    		}
    		ctxt.Layout = disksLayout{
    			legacy: true,
    			pools:  []poolDisksLayout{{layout: setArgs, cmdline: strings.Join(args, " ")}},
    		}
    		return
    	}
    
    	for _, arg := range args {
    		if !ellipses.HasEllipses(arg) && len(args) > 1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. fastapi/_compat.py

            for arg in get_args(annotation):
                if lenient_issubclass(arg, UploadFile):
                    return True
        return False
    
    
    def is_bytes_sequence_annotation(annotation: Any) -> bool:
        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
            at_least_one = False
            for arg in get_args(annotation):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    	allowKexAlgos := preferredKexAlgos
    	allowCiphers := preferredCiphers
    	allowMACs := supportedMACs
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    // NewEndpoints - returns new endpoint list based on input args.
    func NewEndpoints(args ...string) (endpoints Endpoints, err error) {
    	var endpointType EndpointType
    	var scheme string
    
    	uniqueArgs := set.NewStringSet()
    	// Loop through args and adds to endpoint list.
    	for i, arg := range args {
    		endpoint, err := NewEndpoint(arg)
    		if err != nil {
    			return nil, fmt.Errorf("'%s': %s", arg, err.Error())
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  7. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cni/pkg/ipset/nldeps_mock.go

    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       unlabelledPod,
    			},
    			want: false,
    		},
    		{
    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		{
    			name: "pod has label to disable ambient redirection",
    			args: args{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. internal/logger/target/console/console.go

    		if entry.API.Args != nil {
    			args := ""
    			if entry.API.Args.Bucket != "" {
    				args = args + "bucket=" + entry.API.Args.Bucket
    			}
    			if entry.API.Args.Object != "" {
    				args = args + ", object=" + entry.API.Args.Object
    			}
    			if entry.API.Args.VersionID != "" {
    				args = args + ", versionId=" + entry.API.Args.VersionID
    			}
    			if len(entry.API.Args.Objects) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top