_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c173800 | // Dx returns r's width. | |
c173801 | // Dy returns r's height. | |
c173802 | // In reports whether Rectangle r is contained in s. | |
c173803 | // Approx returns true if x ~= y | |
c173804 | // ApproxEpsilon returns true if x ~= y, using provided epsilon value. | |
c173805 | // SetXYZ sets the 3 components at once. | |
c173806 | // Vec3Dist2DSqr derives the square of the distance between v1 and v2 on the
// xz-plane.
//
// The vectors are projected onto the xz-plane, so the y-values are ignored. | |
c173807 | // Vec3 methods
// Copy copies the 3 vector components into dst. | |
c173808 | // Assign assign the component of v1 to v. v = v1 | |
c173809 | // Dist2D derives the distance between v and v2 on the xz-plane.
//
// The vectors are projected onto the xz-plane, so the y-values are ignored. | |
c173810 | // Dist2DSqr derives the square of the distance between v and v2 on the
// xz-plane.
//
// The vectors are projected onto the xz-plane, so the y-values are ignored. | |
c173811 | // Cross returns the cross product of two vectors. v x v1 | |
c173812 | // Dot2D derives the dot product of two vectors on the xz-plane. u . v
//
// The vectors are projected onto the xz-plane, so the y-values are ignored. | |
c173813 | // NewRay creates a new Ray having the o as origin and v as direction of the
// line. | |
c173814 | // IntersectRect indicates wether the ray intersects with the rectangle b. | |
c173815 | // SupportedFunc returns a function that checks if the server can
// support a specific request. | |
c173816 | // NewSigner creates a new RSA backed Signer | |
c173817 | // NewVerifier creates a new RSA backed Verifier | |
c173818 | // Request makes a performs a new GDPR request. | |
c173819 | // Status checks the status of an existing GDPR request. | |
c173820 | // Cancel cancels an existing GDPR request. | |
c173821 | // Discovery describes the remote OpenGDPR speciication. | |
c173822 | // NewClient returns a new OpenGDPR client. | |
c173823 | // Push pushes a new item on top of the stack. | |
c173824 | // Pop removes the topmost item from the stack and return its value.
//
// If the stack is empty, Pop returns nil. | |
c173825 | // PopLast removes the bottommost item.
//
// PopLast does nothing if the stack does not contain at least 2 items. | |
c173826 | // Peek returns the topmost item without removing it from the stack. | |
c173827 | // PeekN returns at max the N topmost item without removing them from the stack. | |
c173828 | // Vecf32 creates a Vec from float32 values. | |
c173829 | // Veci creates a Vec from int values. | |
c173830 | // Add returns the vector v+v2. | |
c173831 | // Sub returns the vector v-v2. | |
c173832 | // In reports whether p is in r. | |
c173833 | // Len returns the vector's length. | |
c173834 | // ApproxFuncEqual takes in a func that compares two floats, and uses it to do
// an element-wise comparison of the vector to another.
//
// This is intended to be used with FloatEqualFunc | |
c173835 | // Merge merges another HandlerMap into itself. | |
c173836 | // respCode maps any successful request with a
// specific status code or returns 200. | |
c173837 | // NewServer returns a server type that statisfies the
// http.Handler interface. | |
c173838 | // Callback sends the CallbackRequest type to the configured
// StatusCallbackUrl. If it fails to deliver in n attempts or
// the request is invalid it will return an error. | |
c173839 | // ErrNotFound indicates a request could
// not be found by the processor. | |
c173840 | // ErrUnsupportedRequestType indicates the processor
// cannot fullfil a request for the given RequestType. | |
c173841 | // ErrUnsupportedIdentity indicates the processor
// does not support the given identity type. | |
c173842 | // ErrMissingRequiredField indicates the request
// is missing a required field. | |
c173843 | // ErrInvalidRequestSignature indicates the payload could not
// be verified with the given signature. | |
c173844 | // DatabaseServers retrieves a list of all database servers | |
c173845 | // SnapshotDatabaseServer requests a snapshot of an existing database server. | |
c173846 | // ResetPasswordForDatabaseServer requests a snapshot of an existing database server. | |
c173847 | // Servers retrieves a list of all servers | |
c173848 | // Server retrieves a detailed view of one server | |
c173849 | // DestroyServer issues a request to destroy the server | |
c173850 | // LockServer locks an existing server, preventing it's destruction without
// first unlocking. Deprecated, use LockResource instead. | |
c173851 | // UnlockServer unlocks a previously locked existing server, allowing
// destruction again. Deprecated, use UnLockResource instead. | |
c173852 | // SnapshotServer issues a request to snapshot the disk of an existing
// server. The snapshot is allocated an Image Id which is returned within an
// instance of Image. | |
c173853 | // FullConsoleUrl returns the console url for the server with the token in the
// query string. Server needs a ConsoleUrl and ConsoleToken, retrieved using
// ActivateConsoleForServer | |
c173854 | // FirewallRule retrieves a detailed view of one firewall rule | |
c173855 | // ServerGroups retrieves a list of all server groups | |
c173856 | // ServerGroup retrieves a detailed view on one server group | |
c173857 | // AddServersToServerGroup adds servers to an existing server group.
//
// The identifier parameter specifies the destination group.
//
// The serverIds paramater specifies the identifiers of the servers you want to add. | |
c173858 | // MoveServersToServerGroup atomically moves servers from one group to another.
//
// The src parameter specifies the group to which the servers currently belong
//
// The dst parameter specifies the group to which you want to move the servers.
//
// The serverIds parameter specifies the identifiers of the servers you ... | |
c173859 | // LoadBalancers retrieves a list of all load balancers | |
c173860 | // LoadBalancer retrieves a detailed view of one load balancer | |
c173861 | // AddNodesToLoadBalancer adds nodes to an existing load balancer. | |
c173862 | // RemoveListenersFromLoadBalancer removes listeners to an existing load balancer. | |
c173863 | // LockResource locks a resource against destroy requests. Support brightbox.CloudIP, brightbox.Server, brightbox.Image and brightbox.LoadBalancer | |
c173864 | // FirewallPolicies retrieves a list of all firewall policies | |
c173865 | // FirewallPolicy retrieves a detailed view of one firewall policy | |
c173866 | // ApplyFirewallPolicy issues a request to apply the given firewall policy to
// the given server group.
// | |
c173867 | // Extract is a method that attempts to interpret any Swauth authentication
// response as a AuthResult struct. | |
c173868 | // ApiClients retrieves a list of all API clients | |
c173869 | // ApiClient retrieves a detailed view of one API client | |
c173870 | // ResetSecretForApiClient requests a snapshot of an existing api client | |
c173871 | // Images retrieves a list of all images | |
c173872 | // Image retrieves a detailed view of one image | |
c173873 | // Accounts retrieves a list of all accounts associated with the client.
//
// API Clients are only ever associated with one single account. User clients
// can have multiple accounts, through collaborations. | |
c173874 | // Account retrieves a detailed view of one account | |
c173875 | // CloudIPs retrieves a list of all cloud ips | |
c173876 | // CloudIP retrieves a detailed view of one cloud ip | |
c173877 | // MapCloudIPtoServer is a convenience method to map a Cloud IP to a
// server. First looks up the server to get the network interface id. Uses the
// first interface found. | |
c173878 | // setAuthHeader sets the Swift Authorization header to r using the access
// token in t.
// | |
c173879 | // Auth performs an authentication request for a Swauth-based user. | |
c173880 | // Collaborations retrieves a list of all the current user's collaborations | |
c173881 | // Collaboration retrieves a detailed view of one of the current user's
// collaborations | |
c173882 | // DatabaseSnapshots retrieves a list of all database snapshot | |
c173883 | // DatabaseSnapshot retrieves a detailed view of one database snapshot | |
c173884 | // Scan ping to hosts in CIDR range. | |
c173885 | // ToFile downloads the specified `src` URL to `dest` file using
// the specified `FileOptions`. | |
c173886 | // ToWriter downloads the specified `src` URL to `w` writer using
// the specified `Options`. | |
c173887 | // FromURL downloads the specified `src` URL to `w` writer using
// the specified `Options`. | |
c173888 | // Return the time-based OTP for the given period. | |
c173889 | // Return the data to be contained in a QR Code for this TOTP with the given label. | |
c173890 | // Generate a Random secret encoded as a b32 string
// If the length is <= 0, a default length of 10 bytes will
// be used, which will generate a secret of length 16. | |
c173891 | // DefaultPeerConfig returns the default config. | |
c173892 | // PubKey returns peer's public key. | |
c173893 | // Send msg to the channel identified by chID byte. Returns false if the send
// queue is full after timeout, specified by MConnection. | |
c173894 | // WriteTo writes the peer's public key to w. | |
c173895 | // Equals reports whenever 2 peers are actually represent the same node. | |
c173896 | // FuzzConnAfter creates a new FuzzedConnection. Fuzzing starts when the
// duration elapses. | |
c173897 | // Creates a new msgPacket to send.
// Not goroutine-safe | |
c173898 | // Writes next msgPacket to w.
// Not goroutine-safe | |
c173899 | // Handles incoming msgPackets. Returns a msg bytes if msg is complete.
// Not goroutine-safe |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.