Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 2,307 for mmap (0.06 sec)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(132L, MemoryUtil.sizeOf(Lists.asList("1234567890", new String[] { "1234567890" })));
            assertEquals(132L, MemoryUtil.sizeOf(Maps.map("1234567890", "1234567890").$()));
        }
    
        private long getObjectSize(Object value) {
            System.setProperty("java.vm.name", "Java HotSpot(TM) ");
            return ObjectSizeCalculator.getObjectSize(value);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CollectSpliteratorsTest extends TestCase {
      public void testMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    import static com.google.common.collect.Multimaps.filterValues;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    public class FilteredMultimapTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * SortedSetMultimap} implementation.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.MavenExecutionException;
    import org.apache.maven.ProjectCycleException;
    import org.apache.maven.artifact.ArtifactUtils;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. tests/scanner_valuer_test.go

    	}
    
    	if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) {
    		t.Errorf("generated vars is not equal, got %v", stmt.Vars)
    	}
    
    	stmt = dryRunDB.Model(UserWithPoint{}).Create(map[string]interface{}{
    		"Name":  "jinzhu",
    		"Point": clause.Expr{SQL: "ST_PointFromText(?)", Vars: []interface{}{"POINT(100 100)"}},
    	}).Statement
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. cmd/naughty-disk_test.go

    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    	// The current API call number
    	callNR int
    	// Data protection
    	mu sync.Mutex
    }
    
    func newNaughtyDisk(d StorageAPI, errs map[int]error, defaultErr error) *naughtyDisk {
    	return &naughtyDisk{disk: d, errors: errs, defaultErr: defaultErr}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_context.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_
    
    #include <functional>
    #include <map>
    #include <memory>
    #include <vector>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_context.h"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        assertThat(copy).containsExactly(0, 1).inOrder();
      }
    
      public void testNewSetFromMapIllegal() {
        Map<Integer, Boolean> map = new LinkedHashMap<>();
        map.put(2, true);
        assertThrows(IllegalArgumentException.class, () -> Sets.newSetFromMap(map));
      }
    
      /** The 0-ary cartesian product is a single empty list. */
      public void testCartesianProduct_zeroary() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/GroupService.java

            }).createPageNumberList());
    
            return groupList;
        }
    
        public OptionalEntity<Group> getGroup(final String id) {
            return groupBhv.selectByPK(id).map(g -> {
                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    
        public void store(final Group group) {
            ComponentUtil.getLdapManager().insert(group);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top