This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "condensed_name": "Education & Occupation", | |
| "segment_type": "Demographic", | |
| "keywords": [ | |
| "образование", | |
| "профессия", | |
| "работа", | |
| "карьера", | |
| "занятость", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "IAB1", | |
| "name": "Arts & Entertainment", | |
| "keywords": [ | |
| "arts", | |
| "entertainment", | |
| "show", | |
| "theater", | |
| "cinema", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/base64" | |
| "github.com/willf/bloom" | |
| ) | |
| type SegmentsSet struct { | |
| filter *bloom.BloomFilter | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package openrtb | |
| import ( | |
| "strings" | |
| "encoding/json" | |
| openrtb2 "github.com/prebid/openrtb/v20/openrtb2" | |
| "github.com/valyala/fastjson" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package search | |
| import ( | |
| "github.com/blevesearch/bleve" | |
| "github.com/blevesearch/bleve/analysis/lang/en" | |
| "github.com/blevesearch/bleve/analysis/lang/ru" | |
| "github.com/blevesearch/bleve/mapping" | |
| "github.com/stretchr/testify/assert" | |
| "testing" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function observerViewable(element, ttc, ot, fn) { | |
| if (element instanceof HTMLElement) { | |
| let timeoutId = null; | |
| const TIME_TO_CHECK_INTERSECTION_IN_MS = ttc; | |
| const OBSERVER_THRESHOLD = ot; | |
| const OBSERVER_OPTIONS = { threshold: [OBSERVER_THRESHOLD] }; | |
| const checkIsVisible = () => { | |
| const elementStyles = getComputedStyle(element); | |
| const elementHeight = (element.clientHeight || parseInt(elementStyles.height, 10)) || 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const RewardedVideoMarker = "rewarded" | |
| if len(imp.Video.Ext) > 0 { | |
| switch { | |
| case fastjson.Exists(imp.Video.Ext, "videotype"): | |
| if fastjson.GetString(imp.Video.Ext, "videotype") == RewardedVideoMarker { | |
| return RewardedVideoMarker | |
| } | |
| case fastjson.Exists(imp.Video.Ext, "rewarded"): | |
| if fastjson.GetInt(imp.Video.Ext, "rewarded") == 1 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package metrics | |
| import ( | |
| "github.com/prometheus/client_golang/prometheus" | |
| "github.com/prometheus/client_golang/prometheus/promhttp" | |
| "github.com/valyala/fasthttp" | |
| "github.com/valyala/fasthttp/fasthttpadaptor" | |
| ) | |
| // SimpleCounter - global variable |
NewerOlder