- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,544 for RESULT (0.06 sec)
-
cmd/iam-etcd-store_test.go
{"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"}, } for i, test := range specs { result := extractPathPrefixAndSuffix(test.path, test.prefix, test.suffix) if result != test.expected { t.Errorf("unexpected result on test[%v]: expected[%s] but had [%s]", i, test.expected, result) } }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
eventClass: Class<out CallEvent>? = null, elapsedMs: Long = -1L, ): CallEvent { val result = eventSequence.remove() val actualElapsedNs = result.timestampNs - (lastTimestampNs ?: result.timestampNs) lastTimestampNs = result.timestampNs if (eventClass != null) { assertThat(result).isInstanceOf(eventClass) } if (elapsedMs != -1L) { assertThat(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
tests/count_test.go
} dryDB := DB.Session(&gorm.Session{DryRun: true}) result := dryDB.Table("users").Select("name").Count(&count) if !regexp.MustCompile(`SELECT COUNT\(.name.\) FROM .*users.*`).MatchString(result.Statement.SQL.String()) { t.Fatalf("Build count with select, but got %v", result.Statement.SQL.String()) } result = dryDB.Table("users").Distinct("name").Count(&count)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
ArtifactResolutionResult result = new ArtifactResolutionResult(); if (request.isResolveRoot()) { try { resolve(request.getArtifact(), request); result.addArtifact(request.getArtifact()); } catch (IOException e) { result.addMissingArtifact(request.getArtifact()); } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
val result = Buffer() result.zstdCompress().buffer().use { it.write(this@zstdCompress) } return result.readByteString() } private fun ByteString.gzipCompress(): ByteString { val result = Buffer() (result as Sink).gzip().buffer().use { it.write(this@gzipCompress) } return result.readByteString() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
super.setUp(); timeLimiter = new FakeTimeLimiter(); } public void testCallWithTimeout_propagatesReturnValue() throws Exception { String result = timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS); assertThat(result).isEqualTo(RETURN_VALUE); } public void testCallWithTimeout_wrapsCheckedException() throws Exception { Exception exception = new SampleCheckedException();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
} /** * Returns a new {@code Future} whose result is asynchronously derived from the result of this * {@code Future}. If the input {@code Future} fails, the returned {@code Future} fails with the * same exception (and the function is not invoked). * * <p>More precisely, the returned {@code Future} takes its result from a {@code Future} producedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] buffer = new byte[1024]; int bytesRead = stream.read(buffer); assertEquals(data.length, bytesRead); String result = new String(buffer, 0, bytesRead, "UTF-8"); assertEquals(testContent, result); } } @Test public void testFileBasedCacheGetInputStream() throws IOException { String testContent = "Hello, World!";
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
} return null; } }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class)); int result = smbRandomAccessFile.read(); assertEquals(42, result); assertEquals(1, smbRandomAccessFile.getFilePointer()); } @Test void testReadEOF() throws SmbException { // Mock the read operation to return EOFRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
SuggestCreator.Options options = new SuggestCreator.Options(); options.sessionId = null; options.propertiesPath = null; String result = options.toString(); assertTrue(result.contains("sessionId=null")); assertTrue(result.contains("propertiesPath=null")); } // Test Options toString method public void test_Options_toString() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0)