- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 383 for wrapping (0.2 sec)
-
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* ExecutionException} when the exception thrown by a task is an unchecked exception. However, it * may also wrap a checked exception in some cases. * * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When * wrapping a checked exception, prefer {@code ExecutionException}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 17:52:19 GMT 2024 - 4.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
super(shortMessage); this.source = source; this.longMessage = longMessage; } /** * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code> * and providing a <code>message</code>. */ public MojoException(String message, Throwable cause) { super(message, cause); } /**
Java - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.5K bytes - Viewed (0) -
src/bufio/example_test.go
// Output: 15 } // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate // 32-bit decimal input. func ExampleScanner_custom() { // An artificial input source. const input = "1234 5678 1234567901234567890" scanner := bufio.NewScanner(strings.NewReader(input)) // Create a custom split function by wrapping the existing ScanWords function.
Go - Registered: Tue Apr 16 11:13:10 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.swig
/* Copyright 2011 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. */ /* A trivial example of wrapping a C library using SWIG. */ %{ #include <stdio.h> #include <stdlib.h> %} %typemap(gotype) const char * "string" %typemap(in) const char * %{ $1 = malloc($input.n + 1); memcpy($1, $input.p, $input.n); $1[$input.n] = '\0'; %}
Plain Text - Registered: Tue Apr 16 11:13:10 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 563 bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
assertEquals(65536, replacementArray.length); // The final element should always be non-null. assertNotNull(replacementArray[replacementArray.length - 1]); // Exhaustively check all mappings (an int index avoids wrapping). for (int n = 0; n < replacementArray.length; ++n) { char c = (char) n; if (replacementArray[n] != null) { assertEquals(map.get(c), new String(replacementArray[n])); } else {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 2.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> { private final transient Set<E> delegate; ForwardingImmutableSet(Set<E> delegate) { // TODO(cpovirk): are we over-wrapping? this.delegate = Collections.unmodifiableSet(delegate); } @Override public UnmodifiableIterator<E> iterator() { return Iterators.unmodifiableIterator(delegate.iterator()); } @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java
private final List<E> delegate; @Nullable E forSerialization; RegularImmutableList(List<E> delegate) { // TODO(cpovirk): avoid redundant unmodifiableList wrapping this.delegate = unmodifiableList(delegate); } @Override List<E> delegateList() { return delegate; }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
* wrap} tasks before they are submitted to the underlying executor. * * <p>Note that task wrapping may occur even if the task is never executed. * * <p>For delegation without task-wrapping, see {@link ForwardingExecutorService}. * * @author Chris Nokleberg */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 5.5K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
} // WithWriteDeadline sets a new write side net.Conn deadline. func (c *DeadlineConn) WithWriteDeadline(d time.Duration) *DeadlineConn { c.writeDeadline = d return c } // New - creates a new connection object wrapping net.Conn with deadlines. func New(c net.Conn) *DeadlineConn { return &DeadlineConn{ Conn: c, }
Go - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Sat Nov 05 18:09:21 GMT 2022 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private ASN1ObjectIdentifier[] remoteMechs; private boolean disableMic; private boolean requireMic; /** * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext} * with the same mechanism this {@link SSPContext} used. * * @param source * the {@link SSPContext} to be wrapped */
Java - Registered: Sun Apr 14 00:10:09 GMT 2024 - Last Modified: Mon Jan 04 04:18:31 GMT 2021 - 14.8K bytes - Viewed (0)