- Sort Score
- Num 10 results
- Language All
Results 4881 - 4890 of 7,102 for sering (0.04 seconds)
-
cmd/server-main_test.go
package cmd import ( "context" "reflect" "testing" ) func TestServerConfigFile(t *testing.T) { for _, testcase := range []struct { config string expectedErr bool hash string }{ { config: "testdata/config/1.yaml", expectedErr: false, hash: "hash:02bf70285dc71f76", }, { config: "testdata/config/2.yaml",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
doc/go_mem.html
implies observing the write to <code>a</code>. This version can (incorrectly) print an empty string instead of <code>"hello, world"</code>. </p> <p> Another incorrect idiom is busy waiting for a value, as in: </p> <pre> var a string var done bool func setup() { a = "hello, world" done = true } func main() { go setup() for !done {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
doc/next/6-stdlib/99-minor/go/token/76285.md
[File] now has a String method....
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 23 15:48:58 GMT 2026 - 32 bytes - Click Count (0) -
guava/src/com/google/common/base/Converter.java
* } * * <p>An alternative using a subclass: * * {@snippet : * return new Converter<Integer, String>() { * @Override * protected String doForward(Integer i) { * return Integer.toHexString(i); * } * * @Override * protected Integer doBackward(String s) { * return parseUnsignedInt(s, 16); * } * } * } * * @author Mike WardCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
return new WrappedRunnable(command); } } private static final class MockExecutor implements ScheduledExecutorService { String lastMethodCalled = ""; long lastInitialDelay; long lastDelay; TimeUnit lastUnit; void assertLastMethodCalled(String method, long delay, TimeUnit unit) { assertThat(lastMethodCalled).isEqualTo(method); assertEquals(delay, lastDelay);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
mockContext.renewCredentials("hint", new Exception()); }); } @Test @DisplayName("Should get SmbResource") void testGet() throws CIFSException { // Given String url = "smb://server/share/file"; SmbResource mockResource = mock(SmbResource.class); when(mockContext.get(url)).thenReturn(mockResource); // When SmbResource resource = mockContext.get(url);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
throws MavenExecutionRequestPopulationException { String localRepositoryPath = null; if (request.getLocalRepositoryPath() != null) { localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath(); } if (localRepositoryPath == null || localRepositoryPath.isEmpty()) { String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/EditForm.java
* This method creates a composite identifier for UI display purposes. * * @return A string in the format "dictId:id" for display purposes */ public String getDisplayId() { return dictId + ":" + id; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
@Inherited @Documented public @interface Secured { /** * Returns the list of security configuration attributes (e.g. ROLE_USER, ROLE_ADMIN). * * @return String[] The secure method attributes */ String[] value();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessStandardTransformerTest.java
String testValue = "test"; assertNotNull(testValue); assertEquals("test", testValue); } // Additional test for coverage @Test public void test_additionalCoverage() { int a = 5; int b = 10; int sum = a + b; assertEquals(15, sum); String str = "Hello"; assertTrue(str.startsWith("H"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0)