_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c8700 | // SetDefaultLoggerName sets the default logger name. | |
c8701 | // SetSampleRate sets how much sampling we want on client side | |
c8702 | // Capture asynchronously delivers a packet to the Sentry server. It is a no-op
// when client is nil. A channel is provided if it is important to check for a
// send's success. | |
c8703 | // CaptureMessage formats and delivers a string message to the Sentry server. | |
c8704 | // CaptureMessageAndWait is identical to CaptureMessage except it blocks and waits for the message to be sent. | |
c8705 | // CaptureError formats and delivers an error to the Sentry server.
// Adds a stacktrace to the packet, excluding the call to this method. | |
c8706 | // CaptureErrorAndWait is identical to CaptureError, except it blocks and assures that the event was sent | |
c8707 | // CapturePanicAndWait is identical to CapturePanic, except it blocks and assures that the event was sent | |
c8708 | // URL returns configured url of given client | |
c8709 | // ProjectID returns configured ProjectID of given client | |
c8710 | // Release returns configured Release of given client | |
c8711 | // IncludePaths returns configured includePaths of given client | |
c8712 | // SetIncludePaths updates includePaths config on given client | |
c8713 | // SetUserContext updates User of Context interface on given client | |
c8714 | // SetHttpContext updates Http of Context interface on given client | |
c8715 | // SetTagsContext updates Tags of Context interface on given client | |
c8716 | // ClearContext clears Context interface on given client by removing tags, user and request information | |
c8717 | // Send uses HTTPTransport to send a Packet to configured Sentry's DSN endpoint | |
c8718 | // NewHttp creates new HTTP object that follows Sentry's HTTP interface spec and will be attached to the Packet | |
c8719 | // Write formats the byte slice p into a string, and sends a message to
// Sentry at the severity level indicated by the Writer w. | |
c8720 | // roundUpPower2 rounds a number to the next power of 2. | |
c8721 | // log2 computes the binary logarithm of x, rounded up to the next integer. | |
c8722 | // getKeyHash returns a hash for the key. Only string and number types are supported. | |
c8723 | // New returns a new HashMap instance with a specific initialization size. | |
c8724 | // Fillrate returns the fill rate of the map as an percentage integer. | |
c8725 | // DelHashedKey deletes the hashed key from the map. | |
c8726 | // deleteElement deletes an element from index | |
c8727 | // Insert sets the value under the specified key to the map if it does not exist yet.
// If a resizing operation is happening concurrently while calling Set, the item might show up in the map only after the resize operation is finished.
// Returns true if the item was inserted or false if it existed. | |
c8728 | // Set sets the value under the specified key to the map. An existing item for this key will be overwritten.
// If a resizing operation is happening concurrently while calling Set, the item might show up in the map only after the resize operation is finished. | |
c8729 | // SetHashedKey sets the value under the specified hash key to the map. An existing item for this key will be overwritten.
// You can use this function if your keys are already hashes and you want to avoid another hashing of the key.
// Do not use non hashes as keys for this function, the performance would decrease!
//... | |
c8730 | // CasHashedKey performs a compare and swap operation sets the value under the specified hash key to the map. An existing item for this key will be overwritten. | |
c8731 | // Cas performs a compare and swap operation sets the value under the specified hash key to the map. An existing item for this key will be overwritten. | |
c8732 | // adds an item to the index if needed and returns the new item counter if it changed, otherwise 0 | |
c8733 | // Grow resizes the hashmap to a new size, gets rounded up to next power of 2.
// To double the size of the hashmap use newSize 0.
// This function returns immediately, the resize operation is done in a goroutine.
// No resizing is done in case of another resize operation already being in progress. | |
c8734 | // String returns the map as a string, only hashed keys are printed. | |
c8735 | // Iter returns an iterator which could be used in a for range loop.
// The order of the items is sorted by hash keys. | |
c8736 | // GetUintKey retrieves an element from the map under given integer key. | |
c8737 | // GetHashedKey retrieves an element from the map under given hashed key. | |
c8738 | // GetOrInsert returns the existing value for the key if present.
// Otherwise, it stores and returns the given value.
// The loaded result is true if the value was loaded, false if stored. | |
c8739 | // Len returns the number of elements within the list. | |
c8740 | // First returns the first item of the list. | |
c8741 | // Add adds an item to the list and returns false if an item for the hash existed.
// searchStart = nil will start to search at the head item | |
c8742 | // AddOrUpdate adds or updates an item to the list. | |
c8743 | // Cas compares and swaps the value of an item in the list. | |
c8744 | // Delete deletes an element from the list. | |
c8745 | // setValue sets the value of the item.
// The value needs to be wrapped in unsafe.Pointer already. | |
c8746 | // casValue compares and swaps the values of the item.
// The to value needs to be wrapped in unsafe.Pointer already. | |
c8747 | // NewCookie return a http.Cookie via give name and value | |
c8748 | // Get return http.Cookie via key | |
c8749 | // Set set a http.Cookie | |
c8750 | // Expire let a cookie named key when expire address | |
c8751 | // Del del cookie by key | |
c8752 | // String get cookie as string | |
c8753 | // Int get cookie as int | |
c8754 | // Int32 get cookie as int32 | |
c8755 | // Int64 get cookie as int64 | |
c8756 | // Uint get cookie as uint | |
c8757 | // Uint32 get cookie as uint32 | |
c8758 | // Uint64 get cookie as uint64 | |
c8759 | // Float32 get cookie as float32 | |
c8760 | // Float64 get cookie as float64 | |
c8761 | // Bool get cookie as bool | |
c8762 | // MustString get cookie as string with default | |
c8763 | // MustEscape get cookie as escaped string with default | |
c8764 | // MustInt get cookie as int with default | |
c8765 | // MustInt32 get cookie as int32 with default | |
c8766 | // MustInt64 get cookie as int64 with default | |
c8767 | // MustUint get cookie as uint with default | |
c8768 | // MustUint32 get cookie as uint32 with default | |
c8769 | // MustUint64 get cookie as uint64 with default | |
c8770 | // MustFloat32 get cookie as float32 with default | |
c8771 | // MustFloat64 get cookie as float64 with default | |
c8772 | // MustBool get cookie as bool with default | |
c8773 | // Cookie returns cookie as string with default | |
c8774 | // CookieEscape returns cookie as escaped string with default | |
c8775 | // CookieInt returns cookie as int with default | |
c8776 | // CookieInt32 returns cookie as int32 with default | |
c8777 | // CookieInt64 returns cookie as int64 with default | |
c8778 | // CookieUint returns cookie as uint with default | |
c8779 | // CookieUint32 returns cookie as uint32 with default | |
c8780 | // CookieUint64 returns cookie as uint64 with default | |
c8781 | // CookieFloat32 returns cookie as float32 with default | |
c8782 | // CookieFloat64 returns cookie as float64 with default | |
c8783 | // CookieBool returns cookie as bool with default | |
c8784 | // Int32 gets int32 data | |
c8785 | // Int64 gets int64 data | |
c8786 | // Uint gets uint data | |
c8787 | // Uint64 gets unit64 data | |
c8788 | // Float32 gets float32 data | |
c8789 | // Float64 gets float64 data | |
c8790 | // Bool gets bool data | |
c8791 | // MustString gets data | |
c8792 | // MustEscape gets data escaped | |
c8793 | // MustInt gets data int | |
c8794 | // MustInt32 gets data int32 | |
c8795 | // MustUint gets data unit type | |
c8796 | // MustFloat32 gets data float32 type | |
c8797 | // MustBool gets data bool type | |
c8798 | // NewSecureCookie generates a new secure cookie | |
c8799 | // Expire sets key expire time |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.