Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2751 - 2760 of 4,617 for New (0.49 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    @NullUnmarked
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/net/URLUtilTest.java

        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/settings.md

    {* ../../docs_src/settings/app02/test_main.py hl[9:10,13,21] *}
    
    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    ## Reading a `.env` file { #reading-a-env-file }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsJobLog.java

        //                                                                              ======
        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (endTime != null) {
                addFieldToSource(sourceMap, "endTime", endTime);
            }
            if (jobName != null) {
                addFieldToSource(sourceMap, "jobName", jobName);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         *            the security mode flags for the session
         * @param capabilities
         *            the client capabilities
         * @param previousSessionid
         *            the previous session ID for reconnection (or 0 for new session)
         * @param token
         *            the security token for authentication
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new {@link IllegalBlockSizeRuntimeException} with the specified cause.
         *
         * @param cause
         *            the cause
         */
        public IllegalBlockSizeRuntimeException(final IllegalBlockSizeException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

     */
    class SmbComBlankResponseTest {
    
        private SmbComBlankResponse response;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            response = new SmbComBlankResponse();
            buffer = new byte[100];
        }
    
        /**
         * Test for the writeParameterWordsWireFormat method.
         * It should always return 0.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

        /**
         * Creates a new instance of CorsHandlerFactory.
         */
        public CorsHandlerFactory() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(CorsHandlerFactory.class);
    
        /**
         * Map of origin patterns to their corresponding CORS handlers.
         */
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

        void testConstructorInitialization() {
            // Given
            int access = 0x01; // Example access value
            int rid = 123; // Example RID value
    
            // When
            MsrpcSamrOpenAlias msrpcSamrOpenAlias = new MsrpcSamrOpenAlias(mockDomainHandle, access, rid, mockAliasHandle);
    
            // Then
            assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top