Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for Conventions (0.18 sec)

  1. istioctl/pkg/describe/describe.go

    			"See %s.\n", url.DeploymentRequirements)
    	}
    }
    
    func kname(meta metav1.ObjectMeta) string {
    	if meta.Namespace == describeNamespace {
    		return meta.Name
    	}
    
    	// Use the Istio convention pod-name[.namespace]
    	return fmt.Sprintf("%s.%s", meta.Name, meta.Namespace)
    }
    
    func printService(writer io.Writer, svc corev1.Service, pod *corev1.Pod) {
    	fmt.Fprintf(writer, "Service: %s\n", kname(svc.ObjectMeta))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    		// Output: 42
    	}
    
    In C, a function argument written as a fixed size array
    actually requires a pointer to the first element of the array.
    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top