- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,190 for setMap (0.06 sec)
-
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
/** * Tests for {@link Files#fileTraverser()}. * * @author Jens Nyman */ @NullUnmarked public class FilesFileTraverserTest extends IoTestCase { private File rootDir; @Override public void setUp() throws IOException { rootDir = createTempDir(); } public void testFileTraverser_emptyDirectory() throws Exception { assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
// Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } @Benchmark byte hashing(int reps) { byte result = 0x01; HashMethod hashMethod = this.hashMethod;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
@Param({"10", "100", "10000"}) int n; private final byte[][] encodingInputs = new byte[INPUTS_COUNT][]; private final String[] decodingInputs = new String[INPUTS_COUNT]; @BeforeExperiment public void setUp() { Random rng = new Random(); for (int i = 0; i < encodingInputs.length; i++) { encodingInputs[i] = new byte[n]; rng.nextBytes(encodingInputs[i]);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
@Mock private Credentials mockCredentials; @Mock private SmbTransportPool mockTransportPool; @Mock private SmbTransportInternal mockTransport; @BeforeEach void setUp() { dfsResolver = new DfsImpl(mockContext); when(mockContext.getConfig()).thenReturn(mockConfig); } // Test for isTrustedDomain method @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
.github/workflows/root-disable.yml
runs-on: ${{ matrix.os }} strategy: matrix: go-version: [1.24.x] os: [ubuntu-latest] steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - name: Start root lockdown tests run: |
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 734 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
private LdapChain ldapChain; private TestLdapManager testLdapManager; private TestFessConfig testFessConfig; @Override public void setUp() throws Exception { super.setUp(); ldapChain = new LdapChain(); testLdapManager = new TestLdapManager(); testFessConfig = new TestFessConfig(); ComponentUtil.register(testLdapManager, "ldapManager");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/http-tracer.go
func httpTracerMiddleware(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { // Setup a http request response recorder - this is needed for // http stats requests and audit if enabled. respRecorder := xhttp.NewResponseRecorder(w) // Setup a http request body recorder reqRecorder := &xhttp.RequestRecorder{Reader: r.Body} r.Body = reqRecorder
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4Test.java
/** * Tests for {@link MsrpcSamrConnect4}. */ class MsrpcSamrConnect4Test implements DcerpcConstants { @Mock private SamrPolicyHandle policyHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test method for * {@link jcifs.dcerpc.msrpc.MsrpcSamrConnect4#MsrpcSamrConnect4(java.lang.String, int, jcifs.dcerpc.msrpc.SamrPolicyHandle)}.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
.github/workflows/maven.yml
jobs: build: runs-on: macos-14 env: PARENT_BRANCH: main timeout-minutes: 15 steps: - uses: actions/checkout@v4 - name: Set up JDK 21 uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' - uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue May 06 09:07:19 UTC 2025 - 1.4K bytes - Viewed (0)