Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,415 for fails (0.02 seconds)

  1. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        }
    
        /**
         * Tests the isCredentialTypeCorrect method with a valid byte array.
         *
         * @throws PACDecodingException if the PAC decoding fails.
         */
        @Test
        void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
            // A byte array with a length less than 32 should be correct.
            byte[] validData = new byte[31];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           */
          decrementCountAndMaybeComplete(null);
        }
      }
    
      /**
       * Fails this future with the given Throwable if {@link #allMustSucceed} is true. Also, logs the
       * throwable if it is an {@link Error} or if {@link #allMustSucceed} is {@code true}, the
       * throwable did not cause this future to fail, and it is the first time we've seen that
       * particular Throwable.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        }
    
        /**
         * Encodes a wide string pointer in NDR format.
         *
         * @param buf the NDR buffer
         * @param str the string to encode (can be null)
         * @throws NdrException if encoding fails
         */
        private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException {
            if (str == null || str.isEmpty()) {
                buf.enc_ndr_long(0); // NULL pointer
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
    
        /**
         * Reads data from wire format
         * @param buffer source buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * pipeline is done (other than those captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} fails with an exception of the given type, the derived {@code
       * ClosingFuture} will be equivalent to the one returned by the function.
       *
       * <p>If this {@code ClosingFuture} succeeds or fails with a different exception type, the
       * function will not be called, and the derived {@code ClosingFuture} will be equivalent to this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

         * @param operation the operation to execute
         * @param connection the RDMA connection to use
         * @return operation result
         * @throws IOException if operation fails after all retries
         */
        public <T> T executeWithRetry(RdmaOperation<T> operation, RdmaConnection connection) throws IOException {
            Exception lastError = null;
            int retryCount = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/RelevanceEvaluationResult.java

            return new RelevanceEvaluationResult(Collections.emptyList(), Collections.emptyList(), false);
        }
    
        /**
         * Creates a fallback result that includes all documents as relevant.
         * Used when evaluation fails and we want to include all search results.
         *
         * @param allDocIds all document IDs from search results
         * @return evaluation result with all documents marked as relevant
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        void testNullIsNotInstance() {
            // Assert
            assertFalse(SessionSetupHandler.class.isInstance(null));
        }
    
        @Test
        @DisplayName("Invalid: looking up constructor on interface fails")
        void testNoConstructorLookup() {
            // Act & Assert: interfaces have no constructors
            assertThrows(NoSuchMethodException.class, () -> SessionSetupHandler.class.getDeclaredConstructor());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. docs/contribute/concurrency.md

    #### Blocking APIs
    
    Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

         * Constructs KerberosEncData from encrypted token bytes.
         *
         * @param token the encrypted Kerberos token
         * @param keys map of encryption keys indexed by key type
         * @throws PACDecodingException if decoding fails
         */
        public KerberosEncData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top