Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,512 for copy (0.02 sec)

  1. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            result = copy(outputFile, "UTF-8", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile_Encoding() throws Exception {
            int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS");
            assertThat(result, is(urlString.length()));
    
            result = copy(outputFile, "Shift_JIS", writer);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Clone and verify basic fields copied
            JAASAuthenticator copy = (JAASAuthenticator) orig.clone();
            assertEquals(orig.getUsername(), copy.getUsername());
            assertEquals(orig.getUserDomain(), copy.getUserDomain());
            assertEquals(orig.getPassword(), copy.getPassword());
    
            // Test the cloning behavior with both null and non-null cached subjects
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CredentialsInternalTest.java

            assertEquals(creds.isAnonymous(), copy.isAnonymous());
            assertEquals(creds.isGuest(), copy.isGuest());
            assertSame(subject, copy.getSubject(), "subject is the same reference in clone");
        }
    
        @Test
        @DisplayName("createContext returns SSPContext and interacts with CIFSContext")
        void createContext_happy_interacts_and_returns_context() throws Exception {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code for server-side copy chunk operation
         */
        public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2;
        /**
         * Function code to enumerate volume shadow copy snapshots
         */
        public static final int FSCTL_SRV_ENUMERATE_SNAPSHOTS = 0x00144064;
        /**
         * Function code to request a resume key for server-side copy
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(16777216, response.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should handle server-side copy response")
            void testServerSideCopyResponse() throws SMBProtocolDecodingException {
                // Simulate a server-side copy operation response
                byte[] buffer = createValidCopyChunkResponse(32, 262144, 8388608);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

                newInputs = inputs;
                newOutputs = outputs;
            }
        }
    
        /**
         * Gets the new input words.
         * Returns a defensive copy to prevent external modification.
         *
         * @return The new input words (defensive copy).
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
         * Sets the new input words.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     * copyBeanToBean(srcBean, destBean);
     * </pre>
     * <p>
     * It is also possible to copy from a JavaBean to a {@link Map} or from a {@link Map} to a JavaBean.
     * </p>
     *
     * <pre>
     * copyBeanToMap(srcBean, destMap);
     * copyMapToBean(srcMap, destBean);
     * </pre>
     * <p>
     * You can also create a new instance of the destination JavaBean or {@link Map} and copy to it.
     * </p>
     *
     * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. NOTICE

    The MIT License (MIT)
    
    Copyright (c) 2014 Leonardo Menezes
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Jan 15 23:53:08 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/EncodableTest.java

            for (int i = 0; i < dstIndex; i++) {
                assertEquals((byte) 0x55, dst[i], "Unexpected change before copy region at " + i);
            }
            for (int i = dstIndex + len; i < dst.length; i++) {
                assertEquals((byte) 0x55, dst[i], "Unexpected change after copy region at " + i);
            }
        }
    
        @Test
        @DisplayName("encode() with zero length does not modify destination")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top