Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 235 for succeed (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/ACE.java

     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
     * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access.
     */
    
    public class ACE {
    
        /**
         * Default constructor for ACE
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ACE.java

     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
     * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access.
     */
    public interface ACE {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

            PROTOCOL,
            /** Resource errors (out of memory, disk space, etc.) */
            RESOURCE,
            /** Configuration errors */
            CONFIGURATION,
            /** Transient errors that may succeed on retry */
            TRANSIENT,
            /** Unknown or unclassified errors */
            UNKNOWN
        }
    
        /**
         * Standard SMB error codes
         */
        public enum ErrorCode {
            // Network errors
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        // Additional tests for parseQuery edge cases
        @Test
        public void testParseQueryWithExactly5Terms() {
            // Test query with exactly MAX_QUERY_TERM_NUM (5) terms - should succeed
            String query = "one two three four five";
            String field = "content";
            String[] keywords = SuggestUtil.parseQuery(query, field);
            assertNotNull(keywords);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                                response.writeBytesWireFormat(buffer, 0);
                            }
                            success[index] = true;
                        } catch (Exception e) {
                            success[index] = false;
                        }
                    });
                }
    
                // When
                for (Thread thread : threads) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            // Fail 5 times, succeed on 6th attempt
            when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> {
                int count = attemptCount.incrementAndGet();
                if (count <= 5) {
                    throw new RuntimeException("Simulated failure #" + count);
                }
                return "Success";
            });
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                        }
                    }).start();
                }
    
                latch.await(5, java.util.concurrent.TimeUnit.SECONDS);
                assertEquals(5, successCount.get(), "All concurrent calls should succeed");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange
                doReturn(true).when(smbFile).exists();
                doReturn(true).when(smbFile).isDirectory();
                doNothing().when(smbFile).mkdir();
    
                // Act & Assert - mkdir should succeed silently if directory already exists
                smbFile.mkdir();
            }
    
            @Test
            void testRenameToSameFile() throws MalformedURLException, SmbException {
                // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                // Encode to different buffers
                int result1 = request.encode(buffer1, 0);
                int result2 = request.encode(buffer2, 50);
    
                // Both should succeed independently
                assertTrue(result1 > 0);
                assertTrue(result2 > 0);
    
                // Verify headers in both buffers
                for (int i = 0; i < 8; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            // The code returns true on line 281 when signatures DON'T match
            boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
    
            // The verification should succeed (return false) since we're using the same key
            assertFalse(result);
        }
    
        @Test
        @DisplayName("Test verify method with unsigned response")
        void testVerifyWithUnsignedResponse() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top