- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for S1 (0.02 sec)
-
guava-tests/test/com/google/common/base/MoreObjectsTest.java
/** Tests for {@link MoreObjects}. */ @GwtCompatible(emulated = true) public class MoreObjectsTest extends TestCase { public void testFirstNonNull_withNonNull() { String s1 = "foo"; String s2 = MoreObjects.firstNonNull(s1, "bar"); assertSame(s1, s2); Long n1 = 42L; Long n2 = MoreObjects.firstNonNull(null, n1); assertSame(n1, n2); Boolean b1 = true;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:24:55 UTC 2024 - 2K bytes - Viewed (0) -
src/crypto/elliptic/params.go
h.Add(h, curve.P) } i := new(big.Int).Lsh(h, 1) i.Mul(i, i) j := new(big.Int).Mul(h, i) s1 := new(big.Int).Mul(y1, z2) s1.Mul(s1, z2z2) s1.Mod(s1, curve.P) s2 := new(big.Int).Mul(y2, z1) s2.Mul(s2, z1z1) s2.Mod(s2, curve.P) r := new(big.Int).Sub(s2, s1) if r.Sign() == -1 { r.Add(r, curve.P) } yEqual := r.Sign() == 0 if xEqual && yEqual {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 17:46:09 UTC 2024 - 9.6K bytes - Viewed (0) -
src/runtime/rand.go
// http://simul.iro.umontreal.ca/testu01/tu01.html t := (*[2]uint32)(unsafe.Pointer(&mp.cheaprand)) s1, s0 := t[0], t[1] s1 ^= s1 << 17 s1 = s1 ^ s0 ^ s1>>7 ^ s0>>16 t[0], t[1] = s0, s1 return s0 + s1 } // cheaprand64 is a non-cryptographic-quality 63-bit random generator // suitable for calling at very high frequency (such as during sampling decisions).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 14:32:47 UTC 2024 - 8K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaReceiverValue.kt
public val expression: KtExpression by validityAsserted(expression) /** * Whether safe navigation is used on this receiver. For example * ``` * fun test(s1: String?, s2: String) { * s1?.length // explicit receiver `s1` has `isSafeNavigation = true` * s2.length // explicit receiver `s2` has `isSafeNavigation = false` * } * ``` */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 3.2K bytes - Viewed (0) -
src/internal/types/testdata/check/decls1.go
s11 = &v s12 = -(u + *t11) / *&v s13 = a /* ERROR "shifted operand" */ << d s14 = i << j s18 = math.Pi * 10.0 s19 = s1 /* ERROR "cannot call" */ () s20 = f0 /* ERROR "no value" */ () s21 = f6(1, s1, i) s22 = f6(1, s1, uu /* ERRORx `cannot use .* in argument` */ ) t1 int = i + j t2 int = i /* ERROR "mismatched types" */ + x t3 int = c /* ERRORx `cannot use .* variable declaration` */ + d t4 string = s + t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
MinioEnv map[string]string } // Diff - returns error on first difference found in two configs. func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error { ns1 := s1.NEndpoints ns2 := s2.NEndpoints if ns1 != ns2 { return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2) } for i, cmdLine := range s1.CmdLines { if cmdLine != s2.CmdLines[i] {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.5K bytes - Viewed (0) -
test/typeparam/builtins.go
} // make func m1[ S1 interface{ []int }, S2 interface{ []int | chan int }, M1 interface{ map[string]int }, M2 interface{ map[string]int | chan int }, C1 interface{ chan int }, C2 interface{ chan int | chan string }, ]() { type m1S0 []int type m1M0 map[string]int type m1C0 chan int _ = make([]int, 10) _ = make(m1S0, 10) _ = make(S1, 10) _ = make(S1, 10, 20)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 09:04:48 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/slices/slices.go
// Floating point NaNs are not considered equal. func Equal[E comparable](s1, s2 []E) bool { return slices.Equal(s1, s2) } // EqualUnordered reports whether two slices are equal, ignoring order func EqualUnordered[E comparable](s1, s2 []E) bool { if len(s1) != len(s2) { return false } first := make(map[E]struct{}, len(s1)) for _, c := range s1 { first[c] = struct{}{} } for _, c := range s2 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 7.9K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
private static class OptionComparator implements Comparator<Option> { public int compare(Option opt1, Option opt2) { String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt(); String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt(); return s1.compareToIgnoreCase(s2); } } private static class CLIManagerExtension extends CLIManager {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 4K bytes - Viewed (0) -
src/hash/fnv/fnv.go
// Compute the multiplication s0, s1 := bits.Mul64(prime128Lower, s[1]) s0 += s[1]<<prime128Shift + prime128Lower*s[0] // Update the values s[1] = s1 s[0] = s0 s[1] ^= uint64(c) } return len(data), nil } func (s *sum128a) Write(data []byte) (int, error) { for _, c := range data { s[1] ^= uint64(c) // Compute the multiplication s0, s1 := bits.Mul64(prime128Lower, s[1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 8.5K bytes - Viewed (0)