- Sort Score
- Num 10 results
- Language All
Results 2261 - 2270 of 2,992 for DEFAULT (0.04 seconds)
-
cmd/metrics-v3-types.go
case GaugeMT: return "gauge" case HistogramMT: return "histogram" default: return "*unknown*" } } func (mt MetricType) toProm() prometheus.ValueType { switch mt { case CounterMT: return prometheus.CounterValue case GaugeMT: return prometheus.GaugeValue case HistogramMT: return prometheus.CounterValue default: panic(fmt.Sprintf("unknown metric type: %d", mt)) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
.thenAnswer(inv -> inv.getArgument(1)); int n = handle.sendrecv(new byte[10], 0, 0, new byte[20], 100); assertEquals(0, n, "Default response length is 0 unless protocol fills it"); } @Test @DisplayName("sendrecv uses CallNamedPipe when PIPE_TYPE_CALL is set") void sendrecv_call_branch() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
// Test getLocalizedMessage method (inherited from Throwable) String message = "Localized error message"; DataStoreException exception = new DataStoreException(message); // By default, getLocalizedMessage returns the same as getMessage assertEquals(message, exception.getLocalizedMessage()); } @Test public void test_toString() { // Test toString method
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
transaction.name = "\\MAILSLOT\\browse"; assertEquals("\\MAILSLOT\\browse", transaction.name, "Transaction name should be changeable"); } @Test @DisplayName("Test default buffer size constant") void testBufferSizeConstant() { assertEquals(0xFFFF, SmbComTransaction.TRANSACTION_BUF_SIZE, "TRANSACTION_BUF_SIZE should be 0xFFFF"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/debugging/s3-check-md5/main.go
if p, err := strconv.Atoi(s[1]); err == nil { parts = p } else { log.Println("FAILED: ETAG of", objFullPath(object), "has a wrong format:", err) continue } multipart = true default: log.Println("FAILED: Unexpected ETAG", object.ETag, "for object:", objFullPath(object)) continue } var partsMD5Sum [][]byte var failedMD5 bool for p := 1; p <= parts; p++ {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
SessionRequestDep = Annotated[Session, Depends(dep_session, scope="request")] SessionDefaultDep = Annotated[Session, Depends(dep_session)] class NamedSession: def __init__(self, name: str = "default") -> None: self.name = name self.open = True def get_named_session(session: SessionRequestDep, session_b: SessionDefaultDep) -> Any: assert session is session_b
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* change slightly between releases. If you need a stable logging format, use your own interceptor. */ class HttpLoggingInterceptor @JvmOverloads constructor( private val logger: Logger = Logger.DEFAULT, ) : Interceptor { @Volatile private var headersToRedact = emptySet<String>() @Volatile private var queryParamsNameToRedact = emptySet<String>() @set:JvmName("level") @Volatile
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
// Constructor // =========== /** * Default constructor. */ public ApiAdminFileconfigAction() { super(); } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
val extension = this.extensions.create<ErrorProneSourceSetExtension>( "errorprone", project.objects.property<Boolean>() ).apply { // Enable it only for the main source set by default, as incremental Groovy // joint-compilation doesn't work with the Error Prone annotation processor enabled.convention(isMainSourceSet) } if (isMainSourceSet) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:47:14 GMT 2026 - 8.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
/** constructor initializes to given value */ public void testConstructor() { for (double x : VALUES) { AtomicDouble a = new AtomicDouble(x); assertBitEquals(x, a.get()); } } /** default constructed initializes to zero */ public void testConstructor2() { AtomicDouble a = new AtomicDouble(); assertBitEquals(0.0, a.get()); } /** get returns the last value set */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0)