- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 681 for delete (0.06 sec)
-
InsecureExtendedTrustManager.kt
available on Android until version 7 L32: * (API level 24). L33: */ L34:@IgnoreJRERequirement L35:internal class InsecureExtendedTrustManager( L36: private val delegate: X509ExtendedTrustManager, L37: private val insecureHosts: List<String>, L38:) : X509ExtendedTrustManager() { L39: override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers L40: L41: override fun checkServerTrusted( L42: chain: Array<out X509Certificate>, L43: authType: String, L44: socket: Socket,...github.com/square/okhttp/okhttp-tls/src/main/ko...Mon Jan 08 01:13:22 UTC 2024 2.6K bytes -
ForwardingObjectTester.java
DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate"); L42: DELEGATE_METHOD.setAccessible(true); L43: } catch (SecurityException e) { L44: throw new RuntimeException(e); L45: } catch (NoSuchMethodException e) { L46: throw new AssertionError(e); L47: } L48: } L49: L50: /** L51: * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link L52: * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one...github.com/google/guava/android/guava-tests/tes...Thu Jan 05 19:41:03 UTC 2023 2.5K bytes -
ForwardingListMultimap.java
subclasses. */ L43: protected ForwardingListMultimap() {} L44: L45: @Override L46: protected abstract ListMultimap<K, V> delegate(); L47: L48: @Override L49: public List<V> get(@ParametricNullness K key) { L50: return delegate().get(key); L51: } L52: L53: @CanIgnoreReturnValue L54: @Override L55: public List<V> removeAll(@CheckForNull Object key) { L56: return delegate().removeAll(key); L57: } L58: L59: @CanIgnoreReturnValue L60: @Override L61: public List<V> replaceValues(@ParametricNullness...github.com/google/guava/guava/src/com/google/co...Tue Jun 15 21:08:00 UTC 2021 2.2K bytes -
ImmutableClassToInstanceMap.java
L166: return new Builder<B>().putAll(map).build(); L167: } L168: L169: private final ImmutableMap<Class<? extends B>, B> delegate; L170: L171: private ImmutableClassToInstanceMap(ImmutableMap<Class<? extends B>, B> delegate) { L172: this.delegate = delegate; L173: } L174: L175: @Override L176: protected Map<Class<? extends B>, B> delegate() { L177: return delegate; L178: } L179: L180: @Override L181: @SuppressWarnings("unchecked") // value could not get in if not a T L182: @CheckForNull...github.com/google/guava/android/guava/src/com/g...Wed May 10 21:56:03 UTC 2023 7.1K bytes -
FileBackedOutputStreamAndroidIncompatibleTest.java
FileBackedOutputStream(0, true); L35: L36: write(out, data, 0, 100, true); L37: final File file = out.getFile(); L38: assertEquals(100, file.length()); L39: assertTrue(file.exists()); L40: out.close(); L41: L42: // Make sure that finalize deletes the file L43: out = null; L44: L45: // times out and throws RuntimeException on failure L46: GcFinalization.awaitDone( L47: new GcFinalization.FinalizationPredicate() { L48: @Override L49: public boolean isDone()...github.com/google/guava/guava-tests/test/com/go...Thu Jun 08 21:20:23 UTC 2023 1.7K bytes -
MapMakerInternalMap.java
= valueEquivalence; L2889: this.concurrencyLevel = concurrencyLevel; L2890: this.delegate = delegate; L2891: } L2892: L2893: @Override L2894: protected ConcurrentMap<K, V> delegate() { L2895: return delegate; L2896: } L2897: L2898: void writeMapTo(ObjectOutputStream out) throws IOException { L2899: out.writeInt(delegate.size()); L2900: for (Entry<K, V> entry : delegate.entrySet()) { L2901: out.writeObject(entry.getKey()); L2902: out.writeObjec...github.com/google/guava/guava/src/com/google/co...Fri Oct 18 20:24:49 UTC 2024 90.8K bytes -
PurgeThumbnailJob.java
Job.class); L24: L25: private long expiry = 30 * 24 * 60 * 60 * 1000L; L26: L27: public String execute() { L28: try { L29: final long count = ComponentUtil.getThumbnailManager().purge(getExpiry()); L30: return "Deleted " + count + " thumbnail files."; L31: } catch (final Exception e) { L32: logger.error("Failed to purge thumbnails.", e); L33: return e.getMessage(); L34: } L35: } L36: L37: public long getExpiry() { L38: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.5K bytes -
ExecutionSequencer.java
submittingTaskQueue.nextTask = task; L358: // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). L359: submittingTaskQueue.nextExecutor = requireNonNull(delegate); L360: delegate = null; L361: } else { L362: // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer). L363: Executor localDelegate = requireNonNull(delegate); L364: delegate = null; L365: this.task = task; L366: ...github.com/google/guava/android/guava/src/com/g...Thu Feb 01 21:46:34 UTC 2024 22.1K bytes -
ImmutableMultimapAsMapImplementsMapTest.java
L40: return ImmutableMultimap.<String, Integer>of().asMap(); L41: } L42: L43: @Override L44: protected Map<String, Collection<Integer>> makePopulatedMap() { L45: Multimap<String, Integer> delegate = HashMultimap.create(); L46: populate(delegate); L47: return ImmutableMultimap.copyOf(delegate).asMap(); L48: } L49:}...github.com/google/guava/android/guava-tests/tes...Mon Feb 19 20:34:55 UTC 2024 1.5K bytes -
MultimapsTransformValuesAsMapTest.java
Integer>create(), Functions.<Integer>identity()) L41: .asMap(); L42: } L43: L44: @Override L45: protected Map<String, Collection<Integer>> makePopulatedMap() { L46: ListMultimap<String, Integer> delegate = ArrayListMultimap.create(); L47: populate(delegate); L48: return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap(); L49: } L50:}...github.com/google/guava/android/guava-tests/tes...Mon Feb 19 20:34:55 UTC 2024 1.6K bytes