Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,741 for codes (0.11 sec)

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

        @BeforeEach
        void resetMocks() {
            Mockito.reset(transport, ctx, session, referral);
        }
    
        // Happy path: hasCapability returns based on provided capability codes
        @ParameterizedTest
        @DisplayName("hasCapability returns expected values for various caps")
        @ValueSource(ints = { -1, 0, 1, 1024 })
        void hasCapability_variousCaps(int cap) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. cmd/erasure-coding.go

    	tillOffset := min(endShard*shardSize+shardSize, shardFileSize)
    	return tillOffset
    }
    
    // erasureSelfTest performs a self-test to ensure that erasure
    // algorithms compute expected erasure codes. If any algorithm
    // produces an incorrect value it fails with a hard error.
    //
    // erasureSelfTest tries to catch any issue in the erasure implementation
    // early instead of silently corrupting data.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_differentMessageCodes() {
            // Setup - test with different message codes
            final String message = "Test message";
            final VaMessenger<FessMessages> loginErrorCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDCacheImplTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_NONE_MAPPED, 0x00000107 })
        @DisplayName("resolveSids(DcerpcHandle,...) accepts success/none/some-not-mapped codes")
        void resolveSids_allowsCertainRetvals_noThrow(int ret) throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                response.setAsyncHandled(true);
    
                assertTrue(response.isAsyncHandled());
            }
        }
    
        @Nested
        @DisplayName("Error Code Tests")
        class ErrorCodeTests {
    
            @Test
            @DisplayName("Should return status as error code")
            void testGetErrorCode() {
                int status = NtStatus.NT_STATUS_ACCESS_DENIED;
                response.setStatusForTest(status);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
        return new IsOdd();
      }
    
      /*
       * Tests for Predicates.alwaysTrue().
       */
    
      public void testAlwaysTrue_apply() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        /** Preferred lease version (1 or 2) */
        protected int leaseVersion = 2;
        /** Lease break timeout in seconds (per MS-SMB2 spec) */
        protected int leaseBreakTimeout = 60;
        /** Whether to use NT status codes instead of DOS error codes */
        protected boolean useNtStatus = true;
        /** Whether to use extended security negotiation */
        protected boolean useExtendedSecurity = true;
        /** Force use of extended security negotiation */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected boolean httpOnly = true;
    
        /**
         * Retrieves the user code for the current request.
         * The user code is used to uniquely identify users across sessions and requests.
         * It checks multiple sources in order: request attribute, request parameter, cookie, user bean, or generates a new one.
         *
         * @return the user code string, or null if no valid session exists
         */
        public String getUserCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

    ## Version 2.2.0
    
    _2014-12-30_
    
     *  **`RequestBody.contentLength()` now throws `IOException`.**
        This is a source-incompatible change. If you have code that calls
        `RequestBody.contentLength()`, your compile will break with this
        update. The change is binary-compatible, however: code compiled
        for OkHttp 2.0 and 2.1 will continue to work with this update.
    
     *  **`COMPATIBLE_TLS` no longer supports SSLv3.** In response to the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top