Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for 1234 (0.13 sec)

  1. guava-tests/test/com/google/common/math/StatsTesting.java

      // Inputs and their statistics:
    
      static final double ONE_VALUE = 12.34;
    
      static final double OTHER_ONE_VALUE = -56.78;
    
      static final ImmutableList<Double> TWO_VALUES = ImmutableList.of(12.34, -56.78);
      static final double TWO_VALUES_MEAN = (12.34 - 56.78) / 2;
      static final double TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS =
          (12.34 - TWO_VALUES_MEAN) * (12.34 - TWO_VALUES_MEAN)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * @param value a primitive {@code boolean} value
       * @return a hash code for the value
       */
      public static int hashCode(boolean value) {
        return value ? 1231 : 1237;
      }
    
      /**
       * Compares the two specified {@code boolean} values in the standard way ({@code false} is
       * considered less than {@code true}). The sign of the value returned is the same as that of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsTesting.java

      // Inputs and their statistics:
    
      static final double ONE_VALUE = 12.34;
    
      static final double OTHER_ONE_VALUE = -56.78;
    
      static final ImmutableList<Double> TWO_VALUES = ImmutableList.of(12.34, -56.78);
      static final double TWO_VALUES_MEAN = (12.34 - 56.78) / 2;
      static final double TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS =
          (12.34 - TWO_VALUES_MEAN) * (12.34 - TWO_VALUES_MEAN)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  4. internal/config/identity/openid/rsa-sha3_contrib.go

    //go:build !fips
    // +build !fips
    
    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for RS256 and company
    var (
    	SigningMethodRS3256 *jwt.SigningMethodRSA
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  5. internal/config/identity/openid/ecdsa-sha3_contrib.go

    //go:build !fips
    // +build !fips
    
    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for EC256 and company
    var (
    	SigningMethodES3256 *jwt.SigningMethodECDSA
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

        assertThat((nameprep.lcatSet as RangeListCodePointSet).ranges).hasSize(360)
      }
    
      @Test fun readCodePointSet() {
        val buffer = Buffer()
        buffer.writeUtf8(
          """
          |  0221
          |  0234-024F
          |  0000-001F; [CONTROL CHARACTERS]
          |  007F; DELETE
          |
          """.trimMargin(),
        )
    
        val rangeList = buffer.readCodePointSet()
        assertEquals(
          listOf(
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/addr2line/addr2line_test.go

    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    	if want := "124"; srcLineNo != want {
    		t.Fatalf("line number = %v; want %s", srcLineNo, want)
    	}
    }
    
    // This is line 123. The test depends on that.
    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir, err := os.MkdirTemp("", "TestAddr2Line")
    	if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(string.substring(5), readFully(reader));
        assertFullyRead(reader);
      }
    
      public void testIllegalArguments() throws IOException {
        CharSequenceReader reader = new CharSequenceReader("12345");
    
        char[] buf = new char[10];
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

          prohibitSet = prohibitSet,
          randalcatSet = randalcatSet,
          lcatSet = lcatSet,
        )
      }
    
      /**
       * Reads a set of range lines like the following:
       *
       * ```
       *  0221
       *  0234-024F
       *  0000-001F; [CONTROL CHARACTERS]
       *  007F; DELETE
       * ```
       */
      fun readCodePointSet(path: Path): RangeListCodePointSet {
        fileSystem.source(path).buffer().use { source ->
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ConverterTest.java

              return "string2long";
            }
          };
    
      private static final Long LONG_VAL = 12345L;
      private static final String STR_VAL = "12345";
    
      private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456");
      private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
    
      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
Back to top