- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 592 for const_ (0.65 sec)
-
logger/logger.go
"context" "errors" "fmt" "io" "log" "os" "time" "gorm.io/gorm/utils" ) // ErrRecordNotFound record not found error var ErrRecordNotFound = errors.New("record not found") // Colors const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Magenta = "\033[35m" Cyan = "\033[36m" White = "\033[37m"
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Jan 12 10:19:28 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
* limitations under the License. */ package okhttp3.internal.ws import java.io.Closeable import java.io.IOException import java.util.zip.Inflater import okio.Buffer import okio.InflaterSource private const val OCTETS_TO_ADD_BEFORE_INFLATION = 0x0000ffff class MessageInflater( private val noContextTakeover: Boolean, ) : Closeable { private val deflatedBytes = Buffer() // Lazily-created.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:26:07 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/metrics-v3-system-memory.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" ) const ( memTotal = "total" memUsed = "used" memFree = "free" memBuffers = "buffers" memCache = "cache" memUsedPerc = "used_perc" memShared = "shared" memAvailable = "available" )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 17 05:10:25 UTC 2024 - 2.2K bytes - Viewed (0) -
src/bufio/net_test.go
}() clientConn, err := net.DialUnix("unixpacket", nil, addr) if err != nil { // Leaves the server goroutine hanging. Oh well. t.Fatal(err) } defer wg.Wait() defer clientConn.Close() const data = "data" r := bufio.NewReader(strings.NewReader(data)) n, err := io.Copy(clientConn, r) if err != nil { t.Fatal(err) } if n != int64(len(data)) {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Feb 07 19:37:07 UTC 2025 - 1.9K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
/** * A project extension which describes a module of a Gradle distribution. */ abstract class GradleModuleExtension(val tasks: TaskContainer, val objects: ObjectFactory) { companion object { const val NAME: String = "gradleModule" } @get:Nested abstract val identity: ModuleIdentity fun identity(action: ModuleIdentity.() -> Unit) { action(identity) } /**
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 2.4K bytes - Viewed (0) -
internal/config/compress/legacy.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package compress import ( "strings" "github.com/minio/minio/internal/config" ) // Legacy envs. const ( EnvCompress = "MINIO_COMPRESS" EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES" // These envs were wrong but we supported them for a long time
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Sep 06 17:37:10 UTC 2025 - 1.9K bytes - Viewed (0) -
internal/pubsub/mask.go
package pubsub import ( "math" "math/bits" ) // Mask allows filtering by a bitset mask. type Mask uint64 const ( // MaskAll is the mask for all entries. MaskAll Mask = math.MaxUint64 ) // MaskFromMaskable extracts mask from an interface. func MaskFromMaskable(m Maskable) Mask { return Mask(m.Mask()) } // Contains returns whether *all* flags in other is present in t. func (t Mask) Contains(other Mask) bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 1.3K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompileExtension.kt
* A container of [JvmCompilation]s for a JVM project. * * Utility methods are provided to add compilations based on existing [SourceSet]s. */ abstract class JvmCompileExtension { companion object { const val NAME: String = "jvmCompile" } abstract val compilations: NamedDomainObjectContainer<JvmCompilation> fun Project.addCompilationFrom(sourceSet: NamedDomainObjectProvider<SourceSet>): JvmCompilation {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 24 14:00:52 UTC 2025 - 1.9K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
// Reattach drive letter. f = []string{f[0] + ":" + f[1], f[2]} } if len(f) != 2 { t.Fatalf("no line number found in %q", pathAndLineNo) } return funcname, f[0], f[1] } const symName = "cmd/addr2line.TestAddr2Line" func testAddr2Line(t *testing.T, dbgExePath, addr string) { funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr) if symName != funcName {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
call = call, ) companion object { private const val PROXY_A_PORT = 1001 private const val PROXY_A_HOST = "proxya" private val proxyA = Proxy( Proxy.Type.HTTP, InetSocketAddress.createUnresolved(PROXY_A_HOST, PROXY_A_PORT), ) private const val PROXY_B_PORT = 1002 private const val PROXY_B_HOST = "proxyb" private val proxyB = Proxy(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 20.3K bytes - Viewed (0)