- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 138 for inaccessible (0.25 seconds)
-
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
static <T> IdentityLoader<T> identityLoader() { return new IdentityLoader<T>(); } /** * Returns a {@code new Object()} for every request, and increments a counter for every request. * The count is accessible via {@link #getCount}. */ static class CountingLoader extends CacheLoader<Object, Object> { private final AtomicInteger count = new AtomicInteger(); @Override public Object load(Object from) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
static <T> IdentityLoader<T> identityLoader() { return new IdentityLoader<T>(); } /** * Returns a {@code new Object()} for every request, and increments a counter for every request. * The count is accessible via {@link #getCount}. */ static class CountingLoader extends CacheLoader<Object, Object> { private final AtomicInteger count = new AtomicInteger(); @Override public Object load(Object from) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers())); // Test that constructor is accessible when made accessible constructor.setAccessible(true); SystemUtil instance = constructor.newInstance(); assertNotNull(instance);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
/* * Coverage mode generates synthetic fields. If we ever add private * fields, they will cause similar problems, and we may want to switch * this check to isAccessible(). */ if (!field.isSynthetic() && field.getType() == String.class) { builder.add(field); } } return builder.build(); } private static String upperToHttpHeaderName(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java
*/ @Test void testConstants() { // A simple assertion to verify that some of the constants have the expected values. // This confirms that the class is on the classpath and its fields are accessible. assertEquals("1.2.840.113554.1.2.2", KerberosConstants.KERBEROS_OID, "KERBEROS_OID should have the correct value.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.1K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
/** * Populate the Map of direct hits. These * are taken from all the public methods * that our class provides. */ private void populateMethodCache() { // get all publicly accessible methods Method[] methods = getAccessibleMethods(clazz); // map and cache them for (Method method : methods) { // now get the 'public method', the method declared by aCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcLsarCloseTest.java
// Although we cannot directly assert that super(handle) was called with Mockito for a constructor, // the fact that the object is successfully created and its inherited fields are accessible // implies the super constructor was invoked. }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
cmd/logging.go
type KMSLogger struct{} // LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface func (l KMSLogger) LogOnceIf(ctx context.Context, err error, id string, errKind ...any) { logger.LogOnceIf(ctx, "kms", err, id, errKind...) } // LogIf is the implementation of LogIf, accessible using the Logger interface func (l KMSLogger) LogIf(ctx context.Context, err error, errKind ...any) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java
// UnsupportedOperationException is what we see on Android. return; } fail("Should have thrown"); } @AndroidIncompatible // TODO(cpovirk): java.lang.IllegalAccessError: superclass not accessible public void testSuccessfulForwarding() { ForwardingObjectTester.testForwardingObject(ForwardToDelegate.class); } private abstract static class FailToForward extends ForwardingObject implements Runnable {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosAddressTest.java
} @Test void testConstantsAreImmutable() { // Ensure constants are properly defined as final // This test just verifies the constants exist and are accessible String anyHosts = NbtAddress.ANY_HOSTS_NAME; String masterBrowser = NbtAddress.MASTER_BROWSER_NAME; String smbServer = NbtAddress.SMBSERVER_NAME; assertNotNull(anyHosts);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.9K bytes - Click Count (0)