Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1741 - 1750 of 2,223 for mmap (0.02 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. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            postcard.addReplyTo(fessConfig.getMailReturnPath());
                            if (toAddresses.length > 0) {
                                stream(toAddresses).of(stream -> stream.map(String::trim).forEach(address -> {
                                    postcard.addTo(address);
                                }));
                            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. internal/disk/stat_linux_s390x.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    	"syscall"
    )
    
    // fsType2StringMap - list of filesystems supported on linux
    var fsType2StringMap = map[string]string{
    	"1021994":  "TMPFS",
    	"137d":     "EXT",
    	"4244":     "HFS",
    	"4d44":     "MSDOS",
    	"52654973": "REISERFS",
    	"5346544e": "NTFS",
    	"58465342": "XFS",
    	"61756673": "AUFS",
    	"6969":     "NFS",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new ScheduledJob()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            return Optional.ofNullable(c.getChild("requiredJavaVersion")).map(PlexusConfiguration::getValue);
        }
    
        private Optional<String> extractRequiredMavenVersion(PlexusConfiguration c) {
            return Optional.ofNullable(c.getChild("requiredMavenVersion")).map(PlexusConfiguration::getValue);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    	}
    	return subtle.ConstantTimeCompare(signature1, signature2) == 1
    }
    
    // Return canonical headers.
    func canonicalizedAmzHeadersV2(headers http.Header) string {
    	var keys []string
    	keyval := make(map[string]string, len(headers))
    	for key := range headers {
    		lkey := strings.ToLower(key)
    		if !strings.HasPrefix(lkey, "x-amz-") {
    			continue
    		}
    		keys = append(keys, lkey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. cmd/metacache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *metacache) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 13
    	// write "end"
    	err = en.Append(0x8d, 0xa3, 0x65, 0x6e, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.ended)
    	if err != nil {
    		err = msgp.WrapError(err, "ended")
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
Back to top