Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2591 - 2600 of 3,901 for 1final (0.04 seconds)

  1. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

    /**
     * Tests for SortedLists.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class SortedListsTest extends TestCase {
      private static final ImmutableList<Integer> LIST_WITH_DUPS =
          ImmutableList.of(1, 1, 2, 4, 4, 4, 8);
    
      private static final ImmutableList<Integer> LIST_WITHOUT_DUPS = ImmutableList.of(1, 2, 4, 8);
    
      void assertModelAgrees(
          List<Integer> list,
          Integer key,
          int answer,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertTrue(future.isCancelled());
        delegateFuture = (ScheduledFuture<?>) delegateQueue.element();
        assertTrue(delegateFuture.isCancelled());
      }
    
      private static final class ThrowingRunnable implements Runnable {
        final int throwAfterCount;
        final RuntimeException thrown;
        int count;
    
        ThrowingRunnable(int throwAfterCount, RuntimeException thrown) {
          this.throwAfterCount = throwAfterCount;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

    class TransTransactNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int TEST_FID = 0x1234;
        private static final byte[] TEST_DATA = "Test pipe data".getBytes(StandardCharsets.UTF_8);
        private static final int TEST_OFFSET = 0;
        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(body.encodedValue(0)).isEqualTo("c%2B%3D%26+d")
        assertThat(body.encodedValue(1)).isEqualTo("final+frontier")
        assertThat(body.encodedValue(2)).isEqualTo("%2525")
        assertThat(body.value(0)).isEqualTo("c+=& d")
        assertThat(body.value(1)).isEqualTo("final frontier")
        assertThat(body.value(2)).isEqualTo("%25")
        assertThat(body.contentType().toString()).isEqualTo(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/xml/XmlEscapers.java

     *
     * @author Alex Matevossian
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public class XmlEscapers {
      private XmlEscapers() {}
    
      private static final char MIN_ASCII_CONTROL_CHAR = 0x00;
      private static final char MAX_ASCII_CONTROL_CHAR = 0x1F;
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/CryptoTest.java

            encryptCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));
            byte[] encrypted = encryptCipher.doFinal(plaintext);
    
            Cipher decryptCipher = Crypto.getArcfour(key);
            decryptCipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(key, "RC4"));
            byte[] decrypted = decryptCipher.doFinal(encrypted);
    
            // Then
            assertNotNull(encrypted);
            assertNotNull(decrypted);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/net/URLUtilTest.java

            assertEquals("file", URLUtil.toCanonicalProtocol("file"));
        }
    
        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

        LsarSidArrayX(final jcifs.SID[] sids) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for (int si = 0; si < sids.length; si++) {
                this.sids[si] = new lsarpc.LsarSidPtr();
                this.sids[si].sid = sids[si].unwrap(sid_t.class);
            }
        }
    
        LsarSidArrayX(final SID[] sids) {
            this.num_sids = sids.length;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ProjectBuildListTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    class ProjectBuildListTest {
        @Test
        void testGetByTaskSegment() throws Exception {
            final MavenSession session = ProjectDependencyGraphStub.getMavenSession();
            ProjectBuildList projectBuildList = ProjectDependencyGraphStub.getProjectBuildList(session);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top