Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 2,274 for ALL (0.01 sec)

  1. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
     *
     * @author Louis Wasserman
     */
    /*
     * TODO(cpovirk): Should all the tests for filtered collections run under GWT, too? Currently, they
     * don't.
     */
    @NullUnmarked
    public final class FilteredCollectionsTestUtil {
      private static final Predicate<Integer> EVEN =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

                return true;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was not called for all the lines",
            3,
            CharStreams.readLines(r, alwaysTrue).intValue());
    
        // Test a LineProcessor that is conditional.
        r = new StringReader(text);
        StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[1] = 0; // sbz1
            // control flags (2 bytes)
            securityDescriptorBytes[2] = 0;
            securityDescriptorBytes[3] = 0;
            // No owner, group, sacl, or dacl (all offsets are 0)
            // Rest of bytes are already 0
    
            info502.security_descriptor = securityDescriptorBytes;
            info502.sd_size = securityDescriptorBytes.length;
    
            // Replace info field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test with zero
            char[] dst1 = new char[4];
            java.util.Arrays.fill(dst1, 'X');
            Hexdump.toHexChars(0, dst1, 0, 4);
            assertEquals("0000", new String(dst1));
    
            // Test with all F's
            char[] dst2 = new char[8];
            Hexdump.toHexChars(0xFFFFFFFF, dst2, 0, 8);
            assertEquals("FFFFFFFF", new String(dst2));
    
            // Test partial buffer update
            char[] dst3 = new char[6];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    			// and only for expected errors, also set once.
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    		} else if err != nil {
    			// For all errors that cannot be reconstructed fail the read operation.
    			return -1, err
    		}
    
    		if err = e.DecodeDataBlocks(bufs); err != nil {
    			return -1, err
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmSspTest.java

        }
    
        @BeforeEach
        public void setUp() throws UnknownHostException {
            ntlmSsp = new NtlmSsp();
    
            // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks
            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            });
            saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
            return redirect(getClass());
        }
    
        /**
         * Clears all crawler indices including queue, data, and filter indices.
         *
         * @param form the action form (validated but not used for configuration)
         * @return HTML response redirecting to the maintenance page
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test selectList method with valid data
        public void test_selectList_validData() throws Exception {
            writeTestFile("a,b => c\nd,e => f\ng,h => i\n");
    
            // Get all items
            PagingList<CharMappingItem> result1 = charMappingFile.selectList(0, 10);
            assertEquals(3, result1.size());
            assertEquals(3, result1.getAllRecordCount());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * Base class for SMB1 transaction request messages.
     * This abstract class provides the foundation for all SMB1 transaction commands, handling
     * parameter and data buffer encoding, multi-part transactions, and setup word management.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            for (int i = 0; i < 5; i++) {
                Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, TEST_PATH);
                req.encode(buffer, i * 200);
            }
    
            // Then - all should have same structure size (9)
            for (int i = 0; i < 5; i++) {
                int bodyOffset = (i * 200) + Smb2Constants.SMB2_HEADER_LENGTH;
                assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top