Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 433 for rails (0.03 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

         * @param label key derivation label
         * @param context key derivation context
         * @param length desired key length in bytes
         * @return derived key
         * @throws GeneralSecurityException if key derivation fails
         */
        public byte[] deriveKey(byte[] baseKey, String label, byte[] context, int length) throws GeneralSecurityException {
            checkNotClosed();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * The only reference to Unsafe is in this nested class. We set things up so that if
       * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer
       * class's static initializer can fall back on a non-Unsafe version.
       */
      @SuppressWarnings("SunApi") // b/345822163
      @VisibleForTesting
      enum UnsafeByteArray implements LittleEndianBytes {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        initCollectionWithNullElement();
        expectReturnsTrue(disjoint);
        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ACE.java

     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
     * the access mask of the ACE, the access check is successful. Otherwise,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/PropertyConfiguration.java

        /**
         * Create a configuration backed by properties
         *
         * @param props properties object containing JCIFS configuration settings
         * @throws CIFSException if configuration initialization fails
         */
        public PropertyConfiguration(Properties props) throws CIFSException {
            super(false);
            initFromProperties(props);
            initDefaults(); // Use original initDefaults
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

          client
            .newBuilder()
            .sslSocketFactory(
              handshakeCertificates2.sslSocketFactory(),
              handshakeCertificates2.trustManager,
            ).build()
    
        // This client fails to connect because the new SSL socket factory refuses.
        assertFailsWith<IOException> {
          anotherClient.newCall(request).execute()
        }.also { expected ->
          when (expected) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         *
         * @param thumbnailId the identifier for the thumbnail being generated
         * @param cmdList the list of command arguments to execute
         * @return the exit code of the process if it finishes normally; -1 if the process fails or is terminated
         */
        protected int executeCommand(final String thumbnailId, final List<String> cmdList) {
            ProcessDestroyer task = null;
            Process p = null;
            InputStreamThread ist = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/SuggestJob.java

        }
    
        /**
         * Executes the suggest creator process.
         * This method constructs the command line arguments and starts the process.
         * @throws JobProcessingException if the process fails.
         */
        protected void executeSuggestCreator() {
            final List<String> cmdList = new ArrayList<>();
            final String cpSeparator = SystemUtils.IS_OS_WINDOWS ? ";" : ":";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTreeTest.java

        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
            assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails");
        }
    
        /**
         * Test for AutoCloseable functionality.
         * Verifies that SmbTree can be used in try-with-resources.
         */
        @Test
        void testAutoCloseable() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.getFid()).thenReturn(fid);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp);
        }
    
        // Ensures watch() fails fast if the underlying handle is invalid
        @Test
        @DisplayName("watch() throws when handle invalid")
        void watch_invalidHandle_throwsSmbException() throws Exception {
            when(handle.isValid()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top