Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1711 - 1720 of 1,879 for latests (0.07 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

    import java.util.HashSet;
    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @GwtCompatible
    @NullUnmarked
    public class AtomicLongMapTest extends TestCase {
      private static final int ITERATIONS = 100;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        private final String justAfterNull;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        byte[][] arrays = new byte[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. docs/ru/docs/help-fastapi.md

    * Если PR можно упростить, Вы можете попросить об этом, но не нужно быть слишком придирчивым — может быть много субъективных мнений (и у меня тоже 🙈), поэтому лучше сосредоточиться на фундаментальных вещах.
    
    ### Тестировать { #tests }
    
    * Помогите мне проверить, что у PR есть **тесты**.
    
    * Проверьте, что тесты **падают** до PR. 🚨
    
    * Затем проверьте, что тесты **проходят** после PR. ✅
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, (byte) command);
        }
    
        /**
         * Nested class for testing buffer operations
         */
        @Nested
        @DisplayName("Buffer Operations Tests")
        class BufferOperationsTests {
    
            @Test
            @DisplayName("Test write operations with empty buffer")
            public void testWriteOperationsWithEmptyBuffer() {
                // Given
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        private NetShareEnum netShareEnum;
        private Configuration realConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            realConfig = new BaseConfiguration(false);
            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

    import jcifs.DialectVersion;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbComNtTransactionResponse
     */
    @DisplayName("SmbComNtTransactionResponse Tests")
    class SmbComNtTransactionResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TestSmbComNtTransactionResponse response;
    
        // Concrete implementation for testing
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        // The causal chain should be cached.
        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/FunctionsTest.java

    import java.io.Serializable;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Functions}.
     *
     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 16K bytes
    - Click Count (0)
  10. tests/test_schema_extra_examples.py

                        {"data": "examples example_examples 1"},
                        {"data": "examples example_examples 2"},
                    ],
                ),
            ):
                return item
    
        # TODO: enable these tests once/if Form(embed=False) is supported
        # TODO: In that case, define if File() should support example/examples too
        # @app.post("/form_example")
        # def form_example(firstname: str = Form(example="John")):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 32.2K bytes
    - Click Count (0)
Back to Top