Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3411 - 3420 of 3,687 for PRIVATE (0.03 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
      @GwtIncompatible // concurrency
      private void runConcurrentTest(int numberOfThreads, Callable<@Nullable Void> callable)
          throws Exception {
        ExecutorService executorService = newFixedThreadPool(numberOfThreads);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link LinearTransformation}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    public class LinearTransformationTest extends TestCase {
    
      private static final double ALLOWED_ERROR = 1e-10;
    
      public void testMappingAnd_regular() {
        double x1 = 1.2;
        double y1 = 3.4;
        double xDelta = 5.6;
        double yDelta = 7.8;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            ImmutableMultimap.<String, String>builder().expectedValuesPerKey(1);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
      private static class StringHolder {
        @Nullable String string;
      }
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testBuilder_withMutableEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LinearTransformationTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link LinearTransformation}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    public class LinearTransformationTest extends TestCase {
    
      private static final double ALLOWED_ERROR = 1e-10;
    
      public void testMappingAnd_regular() {
        double x1 = 1.2;
        double y1 = 3.4;
        double xDelta = 5.6;
        double yDelta = 7.8;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/PercentEscaperTest.java

            assertThrows(IllegalArgumentException.class, () -> new PercentEscaper(" ", true));
        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
        return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/NullnessCasts.java

      // The warnings are legitimate. Each time we use this method, we document why.
      @ParametricNullness
      static <T extends @Nullable Object> T uncheckedNull() {
        return null;
      }
    
      private NullnessCasts() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/jar/JarFileUtil.java

     *
     * @author higa
     */
    public abstract class JarFileUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarFileUtil() {
        }
    
        private static final Logger logger = Logger.getLogger(JarFileUtil.class);
    
        /**
         * Creates and returns a <code>JarFile</code> to read the specified JAR file.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

        /** Invalid state for the operation */
        public static final int ERROR_INVALID_STATE = 0x0000139F;
    
        /** Return code from the RPC operation */
        protected int returnCode = ERROR_SUCCESS;
        private int opnum;
    
        /**
         * Creates a new witness RPC message with the specified operation number.
         *
         * @param opnum the operation number for this message
         */
        protected WitnessRpcMessage(int opnum) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb1.dcerpc.DcerpcHandle;
    import jcifs.smb1.smb1.SmbException;
    
    @ExtendWith(MockitoExtension.class)
    class LsaPolicyHandleTest {
    
        @Mock
        private DcerpcHandle mockDcerpcHandle;
    
        @BeforeEach
        void setUp() {
            // Setup is handled by MockitoExtension
        }
    
        @Test
        void constructor_shouldOpenPolicySuccessfully() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosErrorTest.java

    @ExtendWith(MockitoExtension.class)
    class DosErrorTest {
    
        // Helper that performs a lookup over the constants exposed by DosError.
        // Returns -1 if the DOS code is not mapped.
        private static int findNtStatusOrMinusOne(int dosCode) {
            for (int[] pair : DosError.DOS_ERROR_CODES) {
                // each pair is [dosCode, ntStatus]
                if (pair != null && pair.length == 2 && pair[0] == dosCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top