- Sort Score
- Result 10 results
- Languages All
Results 1741 - 1750 of 2,283 for else (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
char[] charsA = new char[128]; char[] charsB = new char[128]; for (int i = 0; i < charsA.length; i++) { if (i < 100) { charsA[i] = 'a'; charsB[i] = 'a'; } else { // Both two-byte characters, but must be different charsA[i] = (char) (0x0180 + i); charsB[i] = (char) (0x0280 + i); } } String stringA = new String(charsA);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
} } // didn't see it, trying to put it instead... Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE); if (sneaky == null) { return sample; } else { /* Someone beat us to it! Trying again... * * Technically this loop not guaranteed to terminate, so theoretically (extremely
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
assertArgumentNotNull("handler", handler); if (jarFile.getName().toLowerCase().endsWith(WAR_FILE_EXTENSION)) { forEach(jarFile, WEB_INF_CLASSES_PATH, handler); } else { forEach(jarFile, "", handler); } } /** * Jarファイルに含まれるクラスをトラバースします。 * <p> * Jarファイル内のエントリのうち、接頭辞で始まるパスを持つエントリがトラバースの対象となります。
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
} fErr := cmd.Execute() output := out.String() if c.expectedException { if fErr == nil { t.Fatalf("Wanted an exception, "+ "didn't get one, output was %q", output) } } else { if fErr != nil { t.Fatalf("Unwanted exception: %v", fErr) } } if c.expectedOutput != "" && c.expectedOutput != output { assert.Equal(t, c.expectedOutput, output)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/webapp/js/clipboard.min.js
:function(){return this._target}}]),e}();t.exports=u},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges()...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat May 28 04:16:16 UTC 2022 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(throwable).isInstanceOf(clazz); if (params.length == 1) { assertThat(throwable).hasMessageThat().isNull(); } else if (params.length == 2) { assertThat(throwable).hasMessageThat().isEmpty(); } else { assertThat(throwable) .hasMessageThat() .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length))); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* value} cast to {@code int} otherwise * @since 21.0 */ public static int saturatedCast(long value) { if (value <= 0) { return 0; } else if (value >= (1L << 32)) { return -1; } else { return (int) value; } } /** * Returns the least value present in {@code array}, treating values as unsigned. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 21:17:54 UTC 2024 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertThat(graph.predecessors(node)).hasSize(graph.inDegree(node)); assertThat(graph.successors(node)).hasSize(graph.outDegree(node)); } else { int selfLoopCount = graph.adjacentNodes(node).contains(node) ? 1 : 0; assertThat(graph.degree(node)).isEqualTo(graph.adjacentNodes(node).size() + selfLoopCount);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInts.java
* value} cast to {@code int} otherwise * @since 21.0 */ public static int saturatedCast(long value) { if (value <= 0) { return 0; } else if (value >= (1L << 32)) { return -1; } else { return (int) value; } } /** * Returns the least value present in {@code array}, treating values as unsigned. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 21:17:54 UTC 2024 - 13.7K bytes - Viewed (0)