Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for hard (0.01 sec)

  1. compat/maven-model-builder/src/test/resources/poms/validation/hard-coded-system-path.xml

      <dependencies>
        <dependency>
          <groupId>test</groupId>
          <artifactId>a</artifactId>
          <version>0.2</version>
          <scope>system</scope>
          <systemPath>should-use-variables-and-not-hard-code-this-path</systemPath>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>b</artifactId>
          <version>0.1</version>
          <scope>system</scope>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. 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)
  3. apache-maven/src/assembly/maven/conf/maven-user.properties

    #
    # REFERENCE OPTIONS:
    #   hard - Strong reference (stays in memory, faster access)
    #   soft - Weak reference (can be garbage collected under memory pressure)
    #
    # CONFIGURATION BREAKDOWN:
    #   SourceCacheKey                   - File and RAW model requests (session/hard for consistent file access)
    #   DefaultArtifactResolverRequest   - Artifact resolution results (session/hard to avoid re-resolving)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

            // TODO: hard coded string
            return create(DependencyCoordinatesFactoryRequest.build(
                    session, plugin.getGroupId(), plugin.getArtifactId(), plugin.getVersion(), null, null, "maven-plugin"));
        }
    
        @Nonnull
        default DependencyCoordinates create(@Nonnull Session session, ReportPlugin reportPlugin) {
            // TODO: hard coded string
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

        /**
         * Disconnects the transport from the remote server.
         *
         * @param hard if true, force immediate disconnection
         * @param inuse whether the connection is currently in use
         * @return whether the connection was in use
         * @throws IOException if an I/O error occurs during disconnection
         */
        boolean disconnect(boolean hard, boolean inuse) throws IOException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/util/transport/TransportTest.java

                if (connectFails) {
                    throw new IOException("Connect failed");
                }
            }
    
            @Override
            protected boolean doDisconnect(boolean hard, boolean inUse) throws IOException {
                return disconnectResult;
            }
    
            // Test control methods
            public void setState(int state) {
                this.state = state;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top