Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,041 for fails (0.02 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test constructor with a valid login context.
         *
         * @throws LoginException if login fails.
         */
        @Test
        void testConstructor_Success() throws LoginException {
            try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        /**
         * Establish RDMA connection
         *
         * @throws IOException if connection fails
         */
        public abstract void connect() throws IOException;
    
        /**
         * Send data using RDMA
         *
         * @param data data buffer to send
         * @param region registered memory region for the data
         * @throws IOException if send fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

         * Contains the original search query if redirection fails.
         */
        public String q;
    
        /**
         * Number of results parameter for error page fallback.
         * Specifies how many results to display if redirection fails.
         */
        public String num;
    
        /**
         * Sort parameter for error page fallback.
         * Defines the sorting order if redirection fails.
         */
        public String sort;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. cmd/erasure-object-conditional_test.go

    				xhttp.IfMatch: "wrong-etag",
    			},
    			CheckPrecondFn: func(oi ObjectInfo) bool {
    				// Precondition fails if ETag doesn't match
    				return oi.ETag != "wrong-etag"
    			},
    		}
    
    		_, err := obj.PutObject(ctx, bucket, object,
    			mustGetPutObjReader(t, bytes.NewReader([]byte("should-fail")),
    				int64(len("should-fail")), "", ""), opts)
    		if !isErrReadQuorum(err) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // Close the static mock
            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @param data the data to compress
         * @param algorithm the compression algorithm to use
         * @return the compressed data
         * @throws CIFSException if compression fails
         */
        byte[] compress(byte[] data, int algorithm) throws CIFSException;
    
        /**
         * Compresses data using the specified algorithm with offset and length.
         *
         * @param data the data buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DfsImplTest.java

        }
    
        @Test
        void testIsTrustedDomain_ConnectionFails() throws SmbAuthException {
            // Scenario: Transport connection fails
            when(mockCredentials.getUserDomain()).thenReturn("authdomain.com");
            // When transport fails, it should return false
            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/DfsResolver.java

         * @throws CIFSException if the operation fails
         */
        boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Get a connection to the domain controller for a given domain
         *
         * @param tf the CIFS context
         * @param domain the domain name
         * @return connection to the domain controller
         * @throws CIFSException if the connection fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            testClient.documentCount = 10;
            // First createIndex (backup) succeeds, second (recreate) fails
            testClient.createIndexFailOnNth = 2;
    
            final boolean result = testClient.reindexConfigIndices(false, allTargetPrefixes());
    
            assertFalse(result);
            // Backup should NOT be deleted when recreate fails (kept for recovery)
            boolean backupDeleted = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         * @throws IOException if connection creation fails
         */
        RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException;
    
        /**
         * Connect to a remote RDMA endpoint
         *
         * @param hostname remote hostname or IP address
         * @param port remote port number
         * @return established RDMA connection
         * @throws IOException if connection fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top