- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 945 for functions (0.41 sec)
-
docs_src/websockets/tutorial003_py39.py
ws.onmessage = function(event) { var messages = document.getElementById('messages') var message = document.createElement('li') var content = document.createTextNode(event.data) message.appendChild(content) messages.appendChild(message) }; function sendMessage(event) {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import java.util.ListIterator; import org.jspecify.annotations.Nullable; /** * An iterator that transforms a backing list iterator; for internal use. This avoids the object * overhead of constructing a {@link Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import java.util.ListIterator; import org.jspecify.annotations.Nullable; /** * An iterator that transforms a backing list iterator; for internal use. This avoids the object * overhead of constructing a {@link Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicLong; import java.util.function.LongBinaryOperator; import java.util.function.LongUnaryOperator; import org.jspecify.annotations.Nullable; /** * A map containing {@code long} values that can be atomically updated. While writes to aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
if (bufferSupplierOrBytes instanceof byte[]) { buf = (byte[]) bufferSupplierOrBytes; } else { @SuppressWarnings("unchecked") java.util.function.Supplier<byte[]> sup = (java.util.function.Supplier<byte[]>) bufferSupplierOrBytes; buf = sup.get(); } // Act + Assert Throwable t = assertThrows(expected, () -> new MIEName(buf));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
List<String> names = transform(types, SIMPLE_NAME_GETTER); return Joiner.on(", ").join(names); } private static final Function<Type, String> SIMPLE_NAME_GETTER = new Function<Type, String>() { @Override public String apply(Type from) { if (from instanceof Class) { return ((Class<?>) from).getSimpleName(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
List<String> names = transform(types, SIMPLE_NAME_GETTER); return Joiner.on(", ").join(names); } private static final Function<Type, String> SIMPLE_NAME_GETTER = new Function<Type, String>() { @Override public String apply(Type from) { if (from instanceof Class) { return ((Class<?>) from).getSimpleName(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
public class MapComputeIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfAbsent_supportedAbsent() { assertEquals( "computeIfAbsent(notPresent, function) should return new value", v3(), getMap() .computeIfAbsent( k3(), k -> { assertEquals(k3(), k); return v3();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private static final String RESULT_DATA = "SUCCESS"; private SettableFuture<String> outputFuture; // Signals that the function is waiting to complete private CountDownLatch funcIsWaitingLatch; // Signals the function so it will complete private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private static final String RESULT_DATA = "SUCCESS"; private SettableFuture<String> outputFuture; // Signals that the function is waiting to complete private CountDownLatch funcIsWaitingLatch; // Signals the function so it will complete private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 6.4K bytes - Viewed (0)