Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 868 for unix (0.51 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

    import java.util.Locale;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Hashing}.
     *
     * <p>TODO(b/33919189): Migrate repeated testing methods to {@link HashTestUtils} and tweak unit
     * tests to reference them from there.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  2. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       * cast:
       *
       * <pre>
       *   {@code @SuppressWarnings("unchecked") // guaranteed by invokeAll contract}
       *   {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks, timeout, unit);}
       * </pre>
       *
       * @return a list of {@code ListenableFuture} instances representing the tasks, in the same
       *     sequential order as produced by the iterator for the given task list. If the operation did
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .request(
            Request
              .Builder()
              .url("https://example.com/")
              .build(),
          ).protocol(Protocol.HTTP_1_1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the {@link SmbComReadAndXResponse} class.
     */
    public class SmbComReadAndXResponseTest {
    
        private SmbComReadAndXResponse response;
    
        @BeforeEach
        public void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

     * This structure provides complete allocation details including total allocation units, caller-available free units,
     * actual free allocation units, sectors per allocation unit, and bytes per sector.
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link SmbFileFilter}. The filter interface is small; the
     * tests focus on the contract that implementations should honour and the
     * interaction with {@link SmbFile} instances. The tests make heavy use of
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      @CanIgnoreReturnValue
      private static Thread acquireFor(Lock lock, long duration, TimeUnit unit) {
        CountDownLatch latch = new CountDownLatch(1);
        Thread thread =
            new Thread() {
              @Override
              public void run() {
                lock.lock();
                latch.countDown();
                try {
                  Thread.sleep(unit.toMillis(duration));
                } catch (InterruptedException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

        SocketPolicy.UPGRADE_TO_SSL_AT_END -> result.inTunnel()
        SocketPolicy.SHUTDOWN_SERVER_AFTER_RESPONSE -> result.shutdownServer(true)
        SocketPolicy.KEEP_OPEN -> Unit
        SocketPolicy.DISCONNECT_AT_END -> result.onResponseEnd(ShutdownConnection)
        SocketPolicy.DISCONNECT_AT_START -> result.onRequestStart(CloseSocket())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/Base64Test.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link Base64}.
     *
     * These tests cover the public static encode/decode methods for different
     * payload sizes, padding rules, and error conditions such as null and empty
     * input.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/app/pager/BadWordPagerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.pager;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class BadWordPagerTest extends UnitFessTestCase {
    
        public void test_badWordPager() {
            BadWordPager badwordpager = new BadWordPager();
    
            badwordpager.clear();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top