Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for unwrap (0.2 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertSame(type, type.wrap());
      }
    
      private static void assertIsWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
        assertEquals(TypeToken.of(Primitives.unwrap((Class<?>) type.getType())), type.unwrap());
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertSame(type, type.wrap());
      }
    
      private static void assertIsWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
        assertEquals(TypeToken.of(Primitives.unwrap((Class<?>) type.getType())), type.unwrap());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    	// This way downstream context.Canceled will still report ErrRequestTimedout
    	if contextCanceled(ctx) && errors.Is(ctx.Err(), context.Canceled) {
    		return ErrClientDisconnected
    	}
    
    	// Unwrap the error first
    	err = unwrapAll(err)
    
    	switch err {
    	case errInvalidArgument:
    		apiErr = ErrAdminInvalidArgument
    	case errNoSuchPolicy:
    		apiErr = ErrAdminNoSuchPolicy
    	case errNoSuchUser:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. src/main/java/org/codelibs/core/io/CopyUtil.java

                }
                return copyInternal((FileInputStream) in, wrap(out));
            }
            if (out instanceof FileOutputStream) {
                return copyInternal(wrap(in), (FileOutputStream) out);
            }
            return copyInternal(wrap(in), wrap(out));
        }
    
        // ////////////////////////////////////////////////////////////////
        // from InputStream to Writer
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  5. tensorflow/BUILD

    # filesystem search takes place, since libtensorflow_framework.so has already
    # been loaded by pywrap_tensorflow) and registers its ops and kernels via
    # REGISTER_OP and REGISTER_KERNEL_BUILDER (which use symbols from
    # libtensorflow_framework.so), and pywrap_tensorflow can then use these
    # ops. Since other languages use the same libtensorflow_framework.so, op
    # libraries are language agnostic.
    #
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import static org.codelibs.core.stream.StreamUtil.stream;
    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.opensearch.core.action.ActionListener.wrap;
    
    import java.io.File;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.charset.StandardCharsets;
    import java.text.SimpleDateFormat;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * meet the contract guaranteed by this method.
       *
       * <p>There is no {@link Iterable} equivalent to this method, so use this method to wrap each
       * individual iterator as it is generated.
       *
       * @param iterator the backing iterator. The {@link PeekingIterator} assumes ownership of this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to eliminate all checked exceptions: to loop to avoid {@code
       * InterruptedException}, to pass through {@code CancellationException}, and to wrap any exception
       * from the underlying computation in an {@code UncheckedExecutionException} or {@code
       * ExecutionError}.
       *
       * <p>For an uninterruptible {@code get} that preserves other exceptions, see {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    func defaultPolicyDoc(p policy.Policy) PolicyDoc {
    	return PolicyDoc{
    		Version: 1,
    		Policy:  p,
    	}
    }
    
    func (d *PolicyDoc) update(p policy.Policy) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top