Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,167 for setUp (0.21 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

    @ExtendWith(MockitoExtension.class)
    class NdrShortTest {
    
        /**
         * A small reusable buffer for encode/decode tests.
         */
        private byte[] raw;
        private NdrBuffer buf;
    
        @BeforeEach
        void setUp() {
            // 10 bytes is more than enough for the 2-byte short
            raw = new byte[10];
            buf = new NdrBuffer(raw, 0);
        }
    
        /**
         * Validate that the constructor masks the supplied value to its
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. gradlew.bat

    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :execute
    @rem Setup the command line
    
    set CLASSPATH=
    
    
    @rem Execute Gradle
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 26 02:17:22 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      LoadingCache<Integer, Integer> cache;
    
      int max;
    
      static AtomicLong requests = new AtomicLong(0);
      static AtomicLong misses = new AtomicLong(0);
    
      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
         * Test the constructor of SmbComNegotiate.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. ci/official/wheel.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    # Record GPU count and CUDA version status
    if [[ "$TFCI_NVIDIA_SMI_ENABLE" == 1 ]]; then
      tfrun nvidia-smi
    fi
    
    # Update the version numbers for Nightly only
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Mar 03 17:29:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        @Mock
        private rpc.sid_t mockSidT;
    
        @Mock
        private rpc.unicode_string mockUnicodeString;
    
        @Mock
        private lsarpc.LsarSidArray mockLsarSidArray;
    
        @BeforeEach
        void setUp() {
            // Directly set the deferred field on the mock
            mockNdrBuffer.deferred = mockDeferredBuffer;
    
            // Configure mocks for NdrBuffer interactions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

    import org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException;
    
    public class FessConfigTest extends UnitFessTestCase {
    
        private FessConfig fessConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            fessConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String get(String propertyKey) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            public void clearHistory() {
                nameHistory.clear();
            }
        }
    
        private TestTransformer testTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            testTransformer = new TestTransformer();
        }
    
        /**
         * Test default constructor
         */
        public void test_constructor() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

    import org.junit.jupiter.api.io.TempDir
    
    class FileOperatorTest {
      @TempDir
      var tempDir: File? = null
      private var file: File? = null
      private var randomAccessFile: RandomAccessFile? = null
    
      @BeforeEach
      fun setUp() {
        file = File(tempDir, "test")
        randomAccessFile = RandomAccessFile(file, "rw")
      }
    
      @AfterEach
      fun tearDown() {
        randomAccessFile!!.close()
      }
    
      @Test
      fun read() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      ByteSinkTester(
          ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
        super(factory, data, suiteName, caseDesc, method);
      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        OutputStream out = sink.openStream();
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top