Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 750 for HANDLE (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.Help} - Displays usage information</li>
     * </ul>
     *
     * <h3>Upgrade Strategies</h3>
     * <p>The tool uses a strategy pattern to handle different types of upgrades:</p>
     * <ul>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.ModelUpgradeStrategy} - Upgrades POM model versions (4.0.0 → 4.1.0)</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java

                        new TransferResource(null, null, "http://maven.org/test/test-resource", new File("file"), null);
                DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
                // for technical reasons we cannot throw here, even if delegate does cancel transfer
                listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Feb 06 11:28:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            // Act
            lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids);
    
            // Assert using reflection to verify superclass fields
            Field handleField = lsarpc.LsarLookupSids.class.getDeclaredField("handle");
            handleField.setAccessible(true);
            assertSame(mockPolicyHandle, handleField.get(lookupSids));
    
            Field countField = lsarpc.LsarLookupSids.class.getDeclaredField("count");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                    }
                    // Another thread changed the state, re-evaluate
                    return state.get();
                }
            }
    
            return current;
        }
    
        /**
         * Handle successful call
         */
        private void onSuccess() {
            totalSuccesses.incrementAndGet();
            consecutiveFailures.set(0);
    
            State current = state.get();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings;
    
    import org.apache.maven.impl.SettingsUtilsV4;
    
    /**
     * Several convenience methods to handle settings
     *
     */
    public final class SettingsUtils {
    
        private SettingsUtils() {
            // don't allow construction.
        }
    
        /**
         * @param dominant
         * @param recessive
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    
    object ConsoleCallbackHandler : CallbackHandler {
      override fun handle(callbacks: Array<Callback>) {
        for (callback in callbacks) {
          if (callback is PasswordCallback) {
            val console = System.console()
    
            if (console != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    oldValues = ((Collection<?>) oldValue).toArray();
                } else {
                    oldValues = new Object[] { oldValue };
                }
                if (value.getClass().isArray()) {
                    // Handle both Object[] and primitive arrays safely
                    final int newLength = Array.getLength(value);
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newLength);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

          actions += { stream -> stream.sink.close() }
        }
    
      fun sleep(
        duration: Long,
        unit: TimeUnit,
      ) = apply {
        actions += { Thread.sleep(unit.toMillis(duration)) }
      }
    
      override fun handle(socket: Socket) {
        val task = serviceSocketTask(socket.asBufferedSocket())
        results.add(task)
        task.run()
      }
    
      /** Returns a task that processes both request and response from [socket]. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            }
        }
    
        /**
         * Processes all thread information and sends it to the provided consumer.
         *
         * @param writer the consumer that will handle each line of thread dump output
         */
        public static void processThreadDump(final Consumer<String> writer) {
            for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            assertTrue(cause instanceof CIFSException);
            assertTrue(cause.getMessage().contains("Failed to create multi-channel transport"));
        }
    
        @Test
        @DisplayName("createChannelTransport should handle localhost addresses")
        void testCreateChannelTransportWithLocalhostAddresses() throws Exception {
            InetAddress localhost = InetAddress.getLocalHost();
            InetAddress loopback = InetAddress.getLoopbackAddress();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top