- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for s1 (0.12 sec)
-
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] {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
protected void setUp() throws Exception { bus = new EventBus(); methodCalled = false; methodArgument = null; } public void testCreate() { Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod")); assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class); // a thread-safe method should not create a synchronized subscriber
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.8K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
procMountsPath = "/proc/mounts" ) // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { s1, err := os.Lstat(path) if err != nil { return false } // A symlink can never be a mount point if s1.Mode()&os.ModeSymlink != 0 { return false } s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/"))) if err != nil { return false }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 27.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
assertThat(traverser instanceof JarFileTraverser, is(true)); final List<String> list = new ArrayList<String>(); traverser.forEach((ResourceHandler) (path, is) -> list.add(path)); list.sort((s1, s2) -> s1.compareTo(s2)); assertThat(list.size(), is(2)); assertThat(list.get(0), is("junit/textui/ResultPrinter.class")); assertThat(list.get(1), is("junit/textui/TestRunner.class")); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.4K bytes - Viewed (0) -
bin/diff_yaml.py
for k in sorted(common): if q0[k] != q1[k]: print("## ", k) s0 = yaml.safe_dump(q0[k], default_flow_style=False, indent=2) s1 = yaml.safe_dump(q1[k], default_flow_style=False, indent=2) print(datadiff.diff(s0, s1, fromfile=args.orig, tofile=args.new)) return changed + len(added) + len(removed) def main(args): return compare(args)
Python - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 03 16:14:57 GMT 2021 - 4.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java
import org.apache.maven.model.Plugin; /** */ class CacheUtils { /** * @deprecated Use {@link Objects#equals(Object)} */ @Deprecated public static <T> boolean eq(T s1, T s2) { return Objects.equals(s1, s2); } /** * @deprecated Use {@link Objects#hashCode(Object)} */ @Deprecated public static int hash(Object obj) { return obj != null ? obj.hashCode() : 0;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
final int range = max - min; final int s1 = min + (1 * range) / 4; final int s2 = min + (2 * range) / 4; final int s3 = min + (3 * range) / 4; final char[] dst = new char[12]; // Put surrogate pairs at odd indices so they can be split easily dst[0] = 'x'; Character.toChars(min, dst, 1); Character.toChars(s1, dst, 3); Character.toChars(s2, dst, 5);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
} ArtifactRepository other = (ArtifactRepository) obj; return eq(getId(), other.getId()); } protected static <T> boolean eq(T s1, T s2) { return Objects.equals(s1, s2); } public Authentication getAuthentication() { return authentication; } public void setAuthentication(Authentication authentication) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 11K bytes - Viewed (0)