Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for unwrap (0.1 sec)

  1. tensorflow/c/eager/c_api_test.cc

        ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
        auto cpu_arg =
            tensorflow::TensorHandleFromInterface(tensorflow::unwrap(hcpu));
        auto gpu_arg =
            tensorflow::TensorHandleFromInterface(tensorflow::unwrap(hgpu));
        auto gpu_device = gpu_arg->device();
        ASSERT_FALSE(cpu_arg->HasLocalMirror(gpu_device));
    
        TFE_Op* matmul = MatMulOp(ctx, hcpu, hgpu);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

            return this.usageCount.get() > 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbSession#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbSession> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  3. 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());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. 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());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            return getNegotiateResponse().isSigningRequired();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTransport#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbTransport> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. 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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	// to _cgoCheckPointer, as done in checkIndex and checkAddr.
    	//
    	// When the function argument is a conversion to unsafe.Pointer,
    	// we unwrap the conversion before checking the pointer,
    	// and then wrap again when calling C.f. This lets us check
    	// the real type of the pointer in some cases. See issue #25941.
    	//
    	// When the call to C.f is deferred, we use an additional function
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
        public void delete () throws SmbException {
            try {
                delete(this.fileLocator.getUNCPath());
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
            close();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. kotlin-js-store/yarn.lock

      integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==
    
    wrap-ansi@^7.0.0:
      version "7.0.0"
      resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
      integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
      dependencies:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
Back to top