Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for bases (0.07 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          fail();
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testToString() {
        int[] bases = {2, 5, 7, 8, 10, 16};
        for (long a : UNSIGNED_INTS) {
          for (int base : bases) {
            assertThat(Long.toString(a, base)).isEqualTo(UnsignedInts.toString((int) a, base));
          }
        }
      }
    
      public void testJoin() {
        assertThat(join()).isEmpty();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          "5a4316b8c153ac4d",
          "6cf78a4b139a4e2a"
        };
        int[] bases = {2, 5, 7, 8, 10, 16};
        for (int base : bases) {
          for (String x : tests) {
            BigInteger xValue = new BigInteger(x, 16);
            long xLong = xValue.longValue(); // signed
            assertThat(UnsignedLongs.toString(xLong, base)).isEqualTo(xValue.toString(base));
          }
        }
      }
    
      public void testJoin() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/internal/fuzz/encoding_test.go

    math.Float32frombits(0x7fc00001)`,
    		},
    		{
    			desc: "int variations",
    			// Although we arbitrarily choose default integer bases (0 or 16), we may
    			// want to change those arbitrary choices in the future and should not
    			// break the parser. Verify that integers in the opposite bases still
    			// parse correctly.
    			in: `go test fuzz v1
    int(0x0)
    int32(0x41)
    int64(0xfffffffff)
    uint32(0xcafef00d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. docs/fr/docs/alternatives.md

    des systèmes tel qu'Instagram.
    
    Il est relativement fortement couplé aux bases de données relationnelles (comme MySQL ou PostgreSQL), de sorte qu'il
    n'est pas très facile d'utiliser une base de données NoSQL (comme Couchbase, MongoDB, Cassandra, etc.) comme principal moyen de
    stockage.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. docs/fr/docs/deployment/https.md

    !!! tip
        Si vous êtes pressé ou si cela ne vous intéresse pas, passez aux sections suivantes pour obtenir des instructions étape par étape afin de tout configurer avec différentes techniques.
    
    Pour apprendre les bases du HTTPS, du point de vue d'un utilisateur, consultez <a href="https://howhttps.works/"
    class="external-link" target="_blank">https://howhttps.works/</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Oct 31 17:45:30 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  6. docs/fr/docs/deployment/manually.md

         Cela aide beaucoup pendant le **développement**, mais vous **ne devriez pas** l'utiliser en **production**.
    
    ## Hypercorn avec Trio
    
    Starlette et **FastAPI** sont basés sur
    <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, qui les rend
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 04 12:02:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            cal.setTimeZone(MavenBuildTimestamp.DEFAULT_BUILD_TIME_ZONE);
            cal.set(Calendar.HOUR, 12);
            cal.set(Calendar.AM_PM, Calendar.AM);
    
            // just to make sure all the bases are covered...
            cal.set(Calendar.HOUR_OF_DAY, 0);
            cal.set(Calendar.MINUTE, 16);
            cal.set(Calendar.SECOND, 0);
            cal.set(Calendar.YEAR, 1976);
            cal.set(Calendar.MONTH, Calendar.NOVEMBER);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. src/math/big/prime.go

    }
    
    // probablyPrimeMillerRabin reports whether n passes reps rounds of the
    // Miller-Rabin primality test, using pseudo-randomly chosen bases.
    // If force2 is true, one of the rounds is forced to use base 2.
    // See Handbook of Applied Cryptography, p. 139, Algorithm 4.24.
    // The number n is known to be non-zero.
    func (n nat) probablyPrimeMillerRabin(reps int, force2 bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/ureader.go

    		// Within types2, position bases have a lot more details (e.g.,
    		// keeping track of where //line directives appeared exactly).
    		//
    		// For go/types, we just track the file name.
    
    		filename = r.String()
    
    		if r.Bool() { // file base
    			// Was: "b = token.NewTrimmedFileBase(filename, true)"
    		} else { // line base
    			pos := r.pos()
    			line := r.Uint()
    			col := r.Uint()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/math/big/intconv_test.go

    		_, ok := z.SetString(test.in, test.base)
    		if !ok {
    			t.Errorf("%v: failed to parse", test)
    			continue
    		}
    
    		base := test.base
    		if base == 0 {
    			base = 10
    		}
    
    		i := len(buf)
    		buf = z.Append(buf, base)
    		if got := string(buf[i:]); got != test.out {
    			t.Errorf("%v: got %s; want %s", test, got, test.out)
    		}
    	}
    }
    
    func format(base int) string {
    	switch base {
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 22:58:58 UTC 2019
    - 10K bytes
    - Viewed (0)
Back to top