Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 1,779 for result7 (0.16 seconds)

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

        @ValueSource(booleans = { true, false })
        void isInUse_variants(boolean inUse) {
            when(session.isInUse()).thenReturn(inUse);
    
            boolean result = session.isInUse();
    
            assertEquals(inUse, result);
            verify(session, times(1)).isInUse();
        }
    
        // Happy path + edge: getSessionKey returns bytes, empty and null
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            int result = NtlmMessage.readULong(a, 0);
            assertEquals(0x04030201, result, "ULong should be little‑endian");
        }
    
        @Test
        @DisplayName("readUShort correctly interprets little endian")
        void testReadUShort() {
            byte[] a = new byte[] { (byte) 0xAA, (byte) 0xBB };
            int result = NtlmMessage.readUShort(a, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java

        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) {
        EnumMultiset<E> result = create(type);
        Iterables.addAll(result, elements);
        return result;
      }
    
      /** Creates an empty {@code EnumMultiset}. */
      private EnumMultiset(EnumMap<E, Count> map) {
        super(map);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          long time,
          TimeUnit unit,
          ScheduledExecutorService scheduledExecutor) {
        TimeoutFuture<V> result = new TimeoutFuture<>(delegate);
        Fire<V> fire = new Fire<>(result);
        result.timer = scheduledExecutor.schedule(fire, time, unit);
        delegate.addListener(fire, directExecutor());
        return result;
      }
    
      /*
       * Memory visibility of these fields. There are two cases to consider.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
    
        @Override
        public int hashCode() {
          int result = 17;
          result = 37 * result + aspect1;
          result = 37 * result + aspect2;
          return result;
        }
      }
    
      /** Test class with invalid hashCode method. */
      private static class InvalidHashCodeObject {
        private final int aspect1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/VerifyTest.java

      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
        assertThat(result).isSameInstanceAs(NON_NULL_STRING);
      }
    
      public void testVerifyNotNull_simple_failure() {
        assertThrows(VerifyException.class, () -> verifyNotNull(null));
      }
    
      public void testVerifyNotNull_complexMessage_success() {
        String result = verifyNotNull(NON_NULL_STRING, "%s", IGNORE_ME);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ingest/Ingester.java

            return ComponentUtil.getIngestFactory();
        }
    
        /**
         * Processes a result data object for web/file crawling.
         * Default implementation returns the target unchanged.
         *
         * @param target the result data to process
         * @param responseData the response data from crawling
         * @return the processed result data
         */
        public ResultData process(final ResultData target, final ResponseData responseData) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new data config setting.
         *
         * @param body the request body containing data config information
         * @return JSON response with result status
         */
        // POST /api/admin/dataconfig/setting
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top