- Sort Score
- Num 10 results
- Language All
Results 4791 - 4800 of 7,132 for String (0.07 seconds)
-
tests/group_by_test.go
}, { Name: "groupby1", Age: 330, Birthday: Now(), Active: true, }} if err := DB.Create(&users).Error; err != nil { t.Errorf("errors happened when create: %v", err) } var name string var total int if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 3.3K bytes - Click Count (0) -
cmd/xl-storage_unix_test.go
syscall.Umask(mask) return mask } // Tests if the directory and file creations happen with proper umask. func TestIsValidUmaskVol(t *testing.T) { tmpPath := t.TempDir() testCases := []struct { volName string expectedUmask int }{ {"is-this-valid", getUmask()}, } testCase := testCases[0] // Initialize a new xlStorage layer. disk, err := newLocalXLStorage(tmpPath) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
tests/test_application.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0) -
misc/go_android_exec/exitcode_test.go
} // The "pre" output should all have been flushed already. if want, got := pre, out.String(); want != got { t.Errorf("filter should have already flushed %q, but flushed %q", want, got) } code, err := f.Finish() if err != nil { t.Fatal(err) } // Nothing more should have been written to out. if want, got := pre, out.String(); want != got { t.Errorf("want output %q, got %q", want, got) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed May 03 14:54:58 GMT 2023 - 2.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* * ```java * if (response.request().header("Authorization") != null) { * return null; // Give up, we've already failed to authenticate. * } * * String credential = Credentials.basic(...) * return response.request().newBuilder() * .header("Authorization", credential) * .build(); * ``` *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
} @Test @DisplayName("Should create readable string representation") void testToString() { byte[] testBytes = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); String str = key.toString(); assertTrue(str.startsWith("LeaseKey["));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
private val cacheMiss: AtomicBoolean = AtomicBoolean(false) override val collectedInformation: Serializable = cacheMiss override fun action(taskPath: String, taskResult: TaskOperationResult) { if (taskResult is TaskSuccessResult && !taskResult.isFromCache && !taskResult.isUpToDate) { println("CACHE_MISS in task $taskPath") cacheMiss.set(true) }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java
assertThat(Duration.ofNanos(recordedDelay)).isEqualTo(Duration.ofSeconds(12)); } public void testScheduleCallable() throws Exception { Callable<String> callable = () -> "hello"; ListenableScheduledFuture<String> future = executorService.schedule(callable, Duration.ofMinutes(12)); assertThat(future.get()).isEqualTo("hello"); assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 6.5K bytes - Click Count (0) -
src/main/resources/suggest_indices/analyzer/mapping-default.json
{ "dynamic_templates": [ { "strings": { "mapping": { "type": "keyword" }, "match": "*", "match_mapping_type": "string" } } ], "properties": { "settingsType": { "type": "keyword" }, "fieldName": { "type": "keyword" }, "readingAnalyzer": { "type": "keyword" }, "readingTermAnalyzer": {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Aug 03 15:54:27 GMT 2018 - 613 bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
TF_CAPI_EXPORT extern void TFE_MonitoringStringGaugeCellSet( TFE_MonitoringStringGaugeCell* cell, const char* value); // Retrieves the string value and saves it in the buffer. TF_CAPI_EXPORT extern const void TFE_MonitoringStringGaugeCellValue( TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf); // APIs for String Gauge without label. typedef struct TFE_MonitoringStringGauge0 TFE_MonitoringStringGauge0;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1)