Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for hard (0.03 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

                return;
            case 2:
                hard = true;
            case 3: /* connected - go ahead and disconnect */
                if (response_map.size() != 0 && !hard) {
                    break; /* outstanding requests */
                }
                try {
                    doDisconnect(hard);
                } catch (final IOException ioe0) {
                    ioe = ioe0;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @ParameterizedTest
        @DisplayName("disconnect returns expected for flag combinations")
        @CsvSource({
                // hard, inuse, expected
                "true,true,false", "true,false,true", "false,true,true", "false,false,false" })
        void disconnect_flagCombinations(boolean hard, boolean inuse, boolean expected) throws Exception {
            when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Disconnect the transport
         *
         * @param hard if true, disconnect immediately without waiting for outstanding requests
         * @return whether connection was in use
         * @throws IOException if an I/O error occurs during disconnection
         */
        public synchronized boolean disconnect(final boolean hard) throws IOException {
            return disconnect(hard, true);
        }
    
        /**
         * Disconnect the transport
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validateRaw("hard-coded-system-path.xml");
    
            assertViolations(result, 0, 0, 1);
    
            assertViolations(result, 0, 0, 1);
    
            assertContains(
                    result.getWarnings().get(0),
                    "'dependencies.dependency.systemPath' for test:a:jar should use a variable instead of a hard-coded path");
    
            SimpleProblemCollector result31 =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. docs/en/data/translators.yml

      url: https://github.com/AlertRED
    hard-coders:
      login: hard-coders
      count: 15
      avatarUrl: https://avatars.githubusercontent.com/u/9651103?u=95db33927bbff1ed1c07efddeb97ac2ff33068ed&v=4
      url: https://github.com/hard-coders
    Joao-Pedro-P-Holanda:
      login: Joao-Pedro-P-Holanda
      count: 14
      avatarUrl: https://avatars.githubusercontent.com/u/110267046
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 06:27:43 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. docs/en/data/github_sponsors.yml

        avatarUrl: https://avatars.githubusercontent.com/u/9536869?u=652dd0d49717803c0cbcbf44f7740e53cf2d4892&v=4
        url: https://github.com/DMantis
      - login: hard-coders
        avatarUrl: https://avatars.githubusercontent.com/u/9651103?u=95db33927bbff1ed1c07efddeb97ac2ff33068ed&v=4
        url: https://github.com/hard-coders
      - login: mntolia
        avatarUrl: https://avatars.githubusercontent.com/u/10390224?v=4
        url: https://github.com/mntolia
      - login: Zuzah
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 06:30:56 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        val server = serverListener.assertOpen()
    
        // Initiate a close on the client, which will schedule a hard cancel in 500 ms.
        val closeAtNanos = System.nanoTime()
        webSocket.close(1000, "goodbye", 500L)
        serverListener.assertClosing(1000, "goodbye")
    
        // Confirm that the hard cancel occurred after 500 ms.
        clientListener.assertFailure()
        val elapsedUntilFailure = System.nanoTime() - closeAtNanos
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
            }
        }
    
        @Override
        protected void doDisconnect(final boolean hard) throws IOException {
            final ListIterator iter = sessions.listIterator();
            try {
                while (iter.hasNext()) {
                    final SmbSession ssn = (SmbSession) iter.next();
                    ssn.logoff(hard);
                }
                socket.shutdownOutput();
                out.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top