Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 940 for behaviors (0.06 seconds)

  1. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> {
                boolean h = inv.getArgument(0);
                boolean u = inv.getArgument(1);
                // Arbitrary behavior mapping for test purposes
                return (h && !u) || (!h && u);
            });
    
            boolean result = transport.disconnect(hard, inuse);
    
            assertEquals(expected, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            verify(src, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
            verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
        // --- WriterThread behavior ---
    
        @Test
        @DisplayName("WriterThread writes provided buffer and stops on -1")
        void writerThread_writes_and_stops() throws Exception {
            // Arrange
            WriterThread w = new WriterThread();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                // The orchestrator may handle exceptions gracefully and continue
                assertNotNull(result, "Result should not be null");
                // We can't guarantee failure behavior without knowing the exact implementation
            }
        }
    
        @Nested
        @DisplayName("Strategy Ordering")
        class StrategyOrderingTests {
    
            @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

         */
        public SimplexTransferListener(TransferListener delegate) {
            this(delegate, QUEUE_SIZE, BATCH_MAX_SIZE, true);
        }
    
        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
         * @param queueSize The event queue size (default {@code 1024}).
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       */
      abstract Collection<V> createCollection();
    
      /**
       * Creates the collection of values for an explicitly provided key. By default, it simply calls
       * {@link #createCollection()}, which is the correct behavior for most implementations. The {@link
       * LinkedHashMultimap} class overrides it.
       *
       * @param key key to associate with values in the collection
       * @return an empty collection of values
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/UserService.java

        /**
         * Default constructor for UserService.
         */
        public UserService() {
            // Default constructor
        }
    
        /** User behavior for database operations */
        @Resource
        protected UserBhv userBhv;
    
        /** Login assistance for authentication operations */
        @Resource
        protected FessLoginAssist fessLoginAssist;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/UrlEscapers.java

     */
    @GwtCompatible
    public final class UrlEscapers {
      private UrlEscapers() {}
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS = "-_.*";
    
      static final String URL_PATH_OTHER_SAFE_CHARS_LACKING_PLUS =
          "-._~" // Unreserved characters.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Note: When encoding time 0, SMBUtil.writeTime writes 0 directly,
            // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000)
            // This is the expected behavior for Windows FILETIME
            long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time
            assertEquals(expectedTime, decoded.getCreateTime());
            assertEquals(expectedTime, decoded.getLastAccessTime());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                buildContext.getReactorBuildStatus().halt();
            } else {
                logger.error("invalid reactor failure behavior " + rootSession.getReactorFailureBehavior());
                buildContext.getReactorBuildStatus().halt();
            }
        }
    
        public static void attachToThread(MavenProject currentProject) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
Back to Top