- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for checkCast (0.13 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
*/ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } @FormatMethod static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
*/ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } @FormatMethod static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return contents.length; } @Override public boolean contains(@Nullable Object object) { if (!allowNulls) { // behave badly checkNotNull(object); } Platform.checkCast(type, object); // behave badly return asList(contents).contains(object); } @Override public boolean containsAll(Collection<?> collection) { if (!allowNulls) { for (Object object : collection) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return contents.length; } @Override public boolean contains(@Nullable Object object) { if (!allowNulls) { // behave badly checkNotNull(object); } Platform.checkCast(type, object); // behave badly return asList(contents).contains(object); } @Override public boolean containsAll(Collection<?> collection) { if (!allowNulls) { for (Object object : collection) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 3.8K bytes - Click Count (0) -
.github/pull_request_template.md
Backports are typically handled by maintainers; however, after agreement you may open a separate backport PR to the target maintenance branch. --> Following this checklist to help us incorporate your contribution quickly and easily: - [ ] Your pull request should address just one issue, without pulling in other changes.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 01 17:30:11 GMT 2026 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
assertTrue(qrList.contains(doc1)); assertFalse(qrList.contains(doc2)); List<Map<String, Object>> checkList = Arrays.asList(doc1); assertTrue(qrList.containsAll(checkList)); checkList = Arrays.asList(doc1, doc2); assertFalse(qrList.containsAll(checkList)); } @Test public void test_listOperations_indexOperations() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 40.1K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
golang.org/fips140@v1.26.0/fips140/v1.26.0/check/checktest/asm_stub.go // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build (386 || amd64 || arm || arm64) && !purego package checktest import "unsafe" func PtrStaticData() *uint32 func PtrStaticText() unsafe.Pointer golang.org/fips140@v1.26.0/fips140/v1.26.0/check/checktest/test.go // Copyright 2024 The Go Authors. All rights reserved. // Use of...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)