Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,167 for setUp (0.02 sec)

  1. android/guava/src/com/google/common/escape/CharEscaper.java

       * @throws NullPointerException if {@code string} is null
       */
      protected final String escapeSlow(String s, int index) {
        int slen = s.length();
    
        // Get a destination buffer and setup some loop variables.
        char[] dest = Platform.charBufferFromThreadLocal();
        int destSize = dest.length;
        int destIndex = 0;
        int lastEscape = 0;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        private NtlmAuthenticator mockNtlmAuthenticator;
        @Mock
        private NtlmPasswordAuthenticator mockNtlmPasswordAuthenticator;
    
        private CIFSContextCredentialWrapper wrapper;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockCredentials);
        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

        private static final int TIMING_ITERATIONS = 1000;
        private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations
    
        @BeforeEach
        public void setUp() {
            // Warm up JVM to reduce JIT compilation effects
            for (int i = 0; i < 100; i++) {
                NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

    /**
     * Test class for SrvRequestResumeKeyResponse
     */
    class SrvRequestResumeKeyResponseTest {
    
        private SrvRequestResumeKeyResponse response;
    
        @BeforeEach
        void setUp() {
            response = new SrvRequestResumeKeyResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with valid resume key")
        void testDecodeValidResumeKey() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

     */
    @DisplayName("Trans2FindFirst2 Tests")
    class Trans2FindFirst2Test {
    
        @Mock
        private Configuration mockConfig;
    
        private Trans2FindFirst2 trans2FindFirst2;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65535);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. ci/official/utilities/setup_macos.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    #
    # macOS specific setup for all TF scripts.
    #
    
    # Mac version of Core utilities differ in usage. Since our scripts are written
    # with the GNU style, we need to set GNU utilities to be default on Mac.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jun 23 23:03:02 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

      private val bootstrapClient =
        OkHttpClient
          .Builder()
          .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
          .eventListener(eventListener)
          .build()
    
      @BeforeEach
      fun setUp() {
        server.protocols = bootstrapClient.protocols
        dns = buildLocalhost(bootstrapClient, false)
      }
    
      @Test
      fun getOne() {
        server.enqueue(
          dnsResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/SuggestJob.java

    import jakarta.servlet.ServletContext;
    
    /**
     * This job is responsible for executing the suggest creator process.
     * It builds and runs a command-line process to generate suggest data,
     * handling classpath setup, system properties, and process monitoring.
     */
    public class SuggestJob extends ExecJob {
    
        private static final Logger logger = LogManager.getLogger(SuggestJob.class);
    
        /**
         * Constructs a new suggest job.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    class IdnaMappingTableTest {
      private lateinit var table: SimpleIdnaMappingTable
      private lateinit var compactTable: IdnaMappingTable
    
      @BeforeEach
      fun setUp() {
        val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
        val plainTable =
          FileSystem.RESOURCES.read(path) {
            readPlainTextIdnaMappingTable()
          }
        table = plainTable
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

    import jcifs.util.Hexdump;
    
    public class SmbComNegotiateResponseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        private SmbComNegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
            try {
                BaseConfiguration config = new BaseConfiguration(false);
                mockContext = new BaseContext(config);
                response = new SmbComNegotiateResponse(mockContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top