Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 2,072 for Mmap (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/TemplateUtils.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.release;
    
    import groovy.text.SimpleTemplateEngine;
    
    import java.io.IOException;
    import java.io.StringWriter;
    import java.util.Map;
    
    /**
     * Methods for working with Groovy templates.
     */
    public class TemplateUtils {
    
        /**
         * Applies {@code bindings} to {@code template}, then removes all carriage returns from
         * the result.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
        MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE);
        map.put(expectedBytes);
    
        // Verify
        byte[] actualBytes = Files.toByteArray(file);
        assertThat(actualBytes).isEqualTo(expectedBytes);
      }
    
      public void testMap_readWrite_creates() throws IOException {
        // Test data
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext = new QueryContext("test", true);
            queryContext.addFieldLog("field", "text");
    
            Map<String, List<String>> fieldLogMap = (Map<String, List<String>>) getMockRequest().getAttribute(Constants.FIELD_LOGS);
            assertTrue(fieldLogMap.containsKey("field"));
            List<String> list = fieldLogMap.get("field");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code clear()} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#forEach}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

        ImmutableSet<Integer> indexes = ImmutableSet.of(50, 90, 99);
        Map<Integer, Double> referenceQuantiles =
            REFERENCE_ALGORITHM.multipleQuantiles(indexes, 100, dataset.clone());
        assertThat(referenceQuantiles.keySet()).isEqualTo(indexes);
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  7. cmd/xl-storage-format-utils.go

    		// branch
    		fi.Data = inData.find(fi.DataDir)
    	}
    	return fi, nil
    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * An implementation of {@link NetworkConnections} for undirected networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    final class UndirectedNetworkConnections<N, E> extends AbstractUndirectedNetworkConnections<N, E> {
    
      UndirectedNetworkConnections(Map<E, N> incidentEdgeMap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/StaticJAASConfiguration.java

    package jcifs.smb;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.login.AppConfigurationEntry;
    import javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag;
    import javax.security.auth.login.Configuration;
    
    /**
     * @author mbechler
     *
     */
    class StaticJAASConfiguration extends Configuration {
    
        private Map<String, ?> options;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top