Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for wrapping (0.21 sec)

  1. 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 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 563 bytes
    - Viewed (0)
  3. 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 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. 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 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. 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 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/lex.go

    package lex
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"strings"
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt

     * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback
     * checks on platforms that support it. Unfortunately this wrapping will disable any
     * reflection-based calls to SSLSocket from Platform.
     */
    class FallbackTestClientSocketFactory(
      delegate: SSLSocketFactory,
    ) : DelegatingSSLSocketFactory(delegate) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IOException.class, () -> reader.mark(10));
    
        assertThrows(IOException.class, () -> reader.reset());
      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                        + "a org.eclipse.sisu.Typed or javax.enterprise.inject.Typed annotation");
            }
        }
    
        /**
         * A provider wrapping an existing provider with a cache
         * @param <T> the provided type
         */
        protected static class CachingProvider<T> implements Provider<T> {
            private final Provider<T> provider;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. cmd/api-router.go

    			tracedHandler = httpTraceHdrs(f)
    		} else {
    			tracedHandler = httpTraceAll(f)
    		}
    
    		// Skip wrapping with the gzip middleware if specified.
    		var gzippedHandler http.HandlerFunc = tracedHandler
    		if !handlerFlags.has(noGZS3HFlag) {
    			gzippedHandler = gzipHandler(gzippedHandler)
    		}
    
    		// Skip wrapping with throttling middleware if specified.
    		var throttledHandler http.HandlerFunc = gzippedHandler
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top