Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,245 for helper (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                if (throwExceptionOnReadData) {
                    throw new SMBProtocolDecodingException("Test exception in readDataWireFormat");
                }
                return dataWireFormatReturn;
            }
    
            // Helper methods for testing
            void setSetupWireFormatReturn(int value) {
                this.setupWireFormatReturn = value;
            }
    
            void setParametersWireFormatReturn(int value) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class SmbTreeConnectionTraceTest {
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, new Handler());
            } catch (MalformedURLException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            public void testIsHiddenForDollarShare() throws Exception {
                SmbFile hiddenShare = new SmbFile("smb1://server/C$/");
                assertTrue(hiddenShare.isHidden());
            }
        }
    
        // Helper method to create a mock SmbFile for more advanced tests if needed
        private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/MIENameTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class MIENameTest {
    
        // Helper to build a valid buffer according to the expected layout.
        private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) {
            byte[] tokId = new byte[] { 0x04, 0x01 };
            int oidLen = oidDer.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO);
            assertEquals((byte) 7, FileSystemInformation.FS_FULL_SIZE_INFO);
        }
    
        // Helper methods
    
        private void setInfoField(Trans2QueryFSInformationResponse response, FileSystemInformation info) {
            try {
                Field infoField = Trans2QueryFSInformationResponse.class.getDeclaredField("info");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertFalse(copy.containsKey("key5"));
    
            // Get as map and verify
            Map<String, Object> map = dataStoreParams.asMap();
            assertEquals(5, map.size());
        }
    
        // Helper class to test protected constructor
        private static class TestDataStoreParams extends DataStoreParams {
            public TestDataStoreParams(Map<String, Object> params) {
                super(params);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.ftp.FtpAuthentication;
    import org.codelibs.fess.crawler.client.smb.SmbAuthentication;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.opensearch.config.bsentity.BsFileConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.ParameterUtil;
    
    /**
     * @author FreeGen
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Apr 03 09:24:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/CharEscaper.java

          }
          s.getChars(lastEscape, slen, dest, destIndex);
          destIndex = sizeNeeded;
        }
        return new String(dest, 0, destIndex);
      }
    
      /**
       * Helper method to grow the character buffer as needed, this only happens once in a while so it's
       * ok if it's in a method call. If the index passed in is 0 then no copying will be done.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import java.math.BigInteger;
    import java.util.Date;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top