Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for jmod (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      public void testUnmodifiableMultimapIsView() {
        Multimap<String, Integer> mod = HashMultimap.create();
        Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
        assertEquals(mod, unmod);
        mod.put("foo", 1);
        assertTrue(unmod.containsEntry("foo", 1));
        assertEquals(mod, unmod);
      }
    
      @SuppressWarnings("unchecked")
      public void testUnmodifiableMultimapEntries() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      public void testUnmodifiableMultimapIsView() {
        Multimap<String, Integer> mod = HashMultimap.create();
        Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
        assertEquals(mod, unmod);
        mod.put("foo", 1);
        assertTrue(unmod.containsEntry("foo", 1));
        assertEquals(mod, unmod);
      }
    
      @SuppressWarnings("unchecked")
      public void testUnmodifiableMultimapEntries() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/IntMath.java

        return increment ? div + signum : div;
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
       * m}, which might be negative.
       *
       * <p>For example:
       *
       * <pre>{@code
       * mod(7, 4) == 3
       * mod(-7, 4) == 1
       * mod(-1, 4) == 3
       * mod(-8, 4) == 0
       * mod(8, 4) == 0
       * }</pre>
       *
       * @throws ArithmeticException if {@code m <= 0}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml

            If you have deleted your repo, please recreate it and publish a retraction.
    
            Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version.
            For example: https://github.com/jba/retract-demo/blob/main/go.mod#L5-L8.
            See https://pkg.go.dev/about#removing-a-package for additional tips on retractions.
        validations:
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/1-time.md

    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Base64Util.java

            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
            if (mod != 0) {
                outData = new char[(num + 1) * 4];
            } else {
                outData = new char[num * 4];
            }
            for (int i = 0; i < num; i++) {
                encode(inData, i * 3, outData, i * 4);
            }
            if (mod == 1) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. .codespellrc

    [codespell]
    # certs_test.go - has lots of ceritificates.
    skip = go.mod,go.sum,*.txt,LICENSE,*.zip,.git,*.pdf,*.svg,.codespellrc,CREDITS,certs_test.go
    check-hidden = true
    ignore-regex = \b(newfolder/afile|filterIn|HelpES)\b
    Plain Text
    - Registered: Sun Feb 11 19:28:43 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 287 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/LongMathTest.java

          for (int m : POSITIVE_INTEGER_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).intValue(), LongMath.mod(x, m));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testIntModNegativeModulusFails() {
        for (long x : ALL_LONG_CANDIDATES) {
          for (int m : NEGATIVE_INTEGER_CANDIDATES) {
            try {
              LongMath.mod(x, m);
              fail("Expected ArithmeticException");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

      }
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableMultisetShortCircuit() {
        Multiset<String> mod = HashMultiset.create();
        Multiset<String> unmod = Multisets.unmodifiableMultiset(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Multisets.unmodifiableMultiset(unmod));
        ImmutableMultiset<String> immutable = ImmutableMultiset.of("a", "a", "b", "a");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top