- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 1,163 for Setup (0.02 seconds)
-
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
private static final int[] slowFactorials = new int[ARRAY_SIZE]; private static final int[] binomials = new int[ARRAY_SIZE]; @Param({"50", "1000", "10000"}) int factorialBound; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { factorials[i] = RANDOM_SOURCE.nextInt(factorialBound); slowFactorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
@Mock private HttpSession httpSession; @Mock private ServletOutputStream servletOutputStream; @BeforeEach void setUp() throws Exception { filter = new NtlmHttpFilter(); // Setup lenient stubs for common mock interactions lenient().when(request.getSession()).thenReturn(httpSession);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
class Smb2EchoResponseTest { @Mock private Configuration mockConfig; @Mock private Smb2SigningDigest mockDigest; private Smb2EchoResponse echoResponse; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); echoResponse = new Smb2EchoResponse(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
cmd/object-api-deleteobject_test.go
package cmd import ( "context" "crypto/md5" "encoding/hex" "strings" "testing" ) // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup. func TestDeleteObject(t *testing.T) { ExecObjectLayerTest(t, testDeleteObject) } // Unit test for DeleteObject in general. func testDeleteObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 29 01:40:52 GMT 2024 - 4.1K bytes - Click Count (0) -
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.Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4K bytes - Click Count (0) -
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 =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
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 onlyCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Mar 03 17:29:53 GMT 2025 - 3.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
return responseProcessor; } } private TestRuleManager ruleManager; @Override protected void setUp() throws Exception { super.setUp(); ruleManager = new TestRuleManager(); } /** * Test adding a single rule */ public void test_addRule_single() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
public class HandleReconnectorTest { @Mock private PersistentHandleManager mockManager; private HandleReconnector reconnector; private HandleInfo testHandle; @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay HandleGuid guid = new HandleGuid(); byte[] fileId = new byte[16];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
int n; @Param MeanAlgorithm meanAlgorithm; @Param VarianceAlgorithm varianceAlgorithm; private final double[][] values = new double[0x100][]; @BeforeExperiment void setUp() { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { values[i] = new double[n]; for (int j = 0; j < n; j++) { values[i][j] = rng.nextDouble(); } } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0)