Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for exits (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        @DisplayName("TestLocking increments numComplete")
        void testNumCompleteIncrement() {
            TestLocking t = new TestLocking();
            t.url = "smb://test/file.txt";
            t.numIter = 0; // Set to 0 so run() exits immediately
    
            // Run the method
            t.run();
    
            // Verify numComplete was incremented
            assertEquals(1, t.numComplete, "numComplete should be incremented after run");
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         }
     *         public void failure(Service service) {
     *           // Something failed, at this point we could log it, notify a load balancer, or take
     *           // some other action.  For now we will just exit.
     *           System.exit(1);
     *         }
     *       },
     *       MoreExecutors.directExecutor());
     *
     *     Runtime.getRuntime().addShutdownHook(new Thread() {
     *       public void run() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         }
     *         public void failure(Service service) {
     *           // Something failed, at this point we could log it, notify a load balancer, or take
     *           // some other action.  For now we will just exit.
     *           System.exit(1);
     *         }
     *       },
     *       MoreExecutors.directExecutor());
     *
     *     Runtime.getRuntime().addShutdownHook(new Thread() {
     *       public void run() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        assertLockHeld()
    
        if (initialized) {
          return // Already initialized.
        }
    
        // If a bkp file exists, use it instead.
        if (fileSystem.exists(journalFileBackup)) {
          // If journal file also exists just delete backup file.
          if (fileSystem.exists(journalFile)) {
            fileSystem.delete(journalFileBackup)
          } else {
            fileSystem.atomicMove(journalFileBackup, journalFile)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

            assertTrue("GET method should exist", hasGet);
            assertTrue("POST method should exist", hasPost);
            assertTrue("PUT method should exist", hasPut);
            assertTrue("DELETE method should exist", hasDelete);
            assertTrue("HEAD method should exist", hasHead);
            assertTrue("OPTIONS method should exist", hasOptions);
            assertTrue("TRACE method should exist", hasTrace);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtStatus.java

        /** There are currently no logon servers available to service the logon request */
        int NT_STATUS_NO_LOGON_SERVERS = 0xC000005e;
        /** The specified user already exists */
        int NT_STATUS_USER_EXISTS = 0xC0000063;
        /** The specified user does not exist */
        int NT_STATUS_NO_SUCH_USER = 0xC0000064;
        /** The specified network password is not correct */
        int NT_STATUS_WRONG_PASSWORD = 0xC000006a;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("exists should indicate resource existence")
            void testExists() throws CIFSException {
                // Given
                when(mockResource.exists()).thenReturn(true);
    
                // When
                boolean exists = mockResource.exists();
    
                // Then
                assertTrue(exists, "Resource should exist");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** There are currently no logon servers available to service the logon request */
        int NT_STATUS_NO_LOGON_SERVERS = 0xC000005e;
        /** The specified user already exists */
        int NT_STATUS_USER_EXISTS = 0xC0000063;
        /** The specified user does not exist */
        int NT_STATUS_NO_SUCH_USER = 0xC0000064;
        /** The specified network password is not correct */
        int NT_STATUS_WRONG_PASSWORD = 0xC000006a;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. maven-tests/mvnw

        exit 1
      fi
      if [ $distributionSha256Result = false ]; then
        echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2
        echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2
        exit 1
      fi
    fi
    
    # unzip and move
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top