- Sort Score
- Num 10 results
- Language All
Results 1411 - 1420 of 1,929 for latests (0.07 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java
import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.Delayed; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Tests for default methods of the interface. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ListeningScheduledExecutorServiceTest extends TestCase { private Runnable recordedCommand;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) -
buildscripts/verify-healing.sh
rm -rf ${WORK_DIR}/${1}/*/ set -x start_minio_3_node $start_port check_heal ${1} rv=$? if [ "$rv" == "1" ]; then fail fi } function main() { # use same ports for all tests start_port=$(shuf -i 10000-65000 -n 1) perform_test "2" ${start_port} perform_test "1" ${start_port} perform_test "3" ${start_port} } (__init__ "$@" && main "$@") rv=$? purge "$WORK_DIR"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 4K bytes - Click Count (0) -
internal/jwt/parser_test.go
j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) tk, _ := j.SignedString([]byte("HelloSecret")) return tk } func TestParserParse(t *testing.T) { // Iterate over test data set and run tests for _, data := range jwtTestData { t.Run(data.name, func(t *testing.T) { // Parse the token var err error // Figure out correct claims type switch claims := data.claims.(type) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
src/cmd/asm/internal/lex/lex.go
type Macro struct { name string // The #define name. args []string // Formal arguments. tokens []Token // Body of macro. } // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests. func Tokenize(str string) []Token { t := NewTokenizer("command line", strings.NewReader(str), nil) var tokens []Token for { tok := t.Next() if tok == scanner.EOF { break }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@Mock private InputStream mockInputStream; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); packet = new TestSessionServicePacket(); } // Tests for static methods @Test @DisplayName("writeInt2 should correctly write 16-bit integer") void testWriteInt2() { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(0x1234, dst, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for the {@link ModelVersionUtils} utility class. * Tests model version detection, validation, upgrade logic, and namespace operations. */ @DisplayName("ModelVersionUtils") class ModelVersionUtilsTest { @NestedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link ImmutableSortedMap}. * * @author Kevin Bourrillion * @author Jesse Wilson * @author Jared Levy */ @GwtCompatible @SuppressWarnings("AlwaysThrows") @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
public String getHandleStateDirectory() { return getProperty(HANDLE_STATE_DIR, System.getProperty("user.home") + "/.jcifs/handles"); } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java package jcifs.tests.smb3; import org.junit.Test; import static org.junit.Assert.*; public class PersistentHandleTest { @Test public void testHandleGuidGeneration() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
}); List<String> actual = newArrayList(result); List<String> expected = asList("1", "2", "null", "3"); assertEquals(expected, actual); } // Far less exhaustive than the tests in IteratorsTest public void testCycle() { Iterable<String> cycle = Iterables.cycle("a", "b"); int howManyChecked = 0; for (String string : cycle) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
cmd/admin-handlers.go
Err: fmt.Sprintf("server is running the latest version: %s", Version), CurrentVersion: Version, }) for _, client := range globalNotificationSys.peerClients { updateStatus.Results = append(updateStatus.Results, madmin.ServerPeerUpdateStatus{ Host: client.String(), Err: fmt.Sprintf("server is running the latest version: %s", Version), CurrentVersion: Version, })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0)