Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for GetParam (0.09 sec)

  1. tensorflow/c/eager/gradients_test.cc

    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        absl::Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    absl::Status RegisterGradients(GradientRegistry* registry) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker_test.cc

        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
    
        {
          absl::Status s = StatusFromTF_Status(status.get());
          CHECK_EQ(errors::OK, s.code()) << s.message();
        }
    
        {
          AbstractContext* ctx_raw = nullptr;
          absl::Status s =
              BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
          ASSERT_EQ(errors::OK, s.code()) << s.message();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        absl::Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    TEST_P(UnifiedCAPI, TestBasicEager) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

         * @param off
         */
        public SmbComReadAndXResponse ( Configuration config, byte[] b, int off ) {
            super(config);
            this.data = b;
            this.offset = off;
        }
    
    
        void setParam ( byte[] b, int off ) {
            this.data = b;
            this.offset = off;
        }
    
    
        /**
         * 
         * @return the read data
         */
        public final byte[] getData () {
            return this.data;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            command = SMB_COM_WRITE;
        }
    
        void setParam( int fid, long offset, int remaining,
                        byte[] b, int off, int len ) {
            this.fid = fid;
            this.offset = (int)(offset & 0xFFFFFFFFL);
            this.remaining = remaining;
            this.b = b;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            int w;
            do {
                w = len > writeSize ? writeSize : len;
                if( useNTSmbs ) {
                    reqx.setParam( file.fid, fp, len - w, b, off, w );
    if ((flags & 1) != 0) {
        reqx.setParam( file.fid, fp, len, b, off, w );
        reqx.writeMode = 0x8;
    } else {
        reqx.writeMode = 0;
    }
                    file.send( reqx, rspx );
                    fp += rspx.count;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        off += cnt;
                    }
                    else if ( this.useNTSmbs ) {
                        this.reqx.setParam(fh.getFid(), this.fp, len - w, b, off, w);
                        if ( ( flags & 1 ) != 0 ) {
                            this.reqx.setParam(fh.getFid(), this.fp, len, b, off, w);
                            this.reqx.setWriteMode(0x8);
                        }
                        else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

        int off, dataCompactionMode, dataLength, dataOffset;
    
        SmbComReadAndXResponse() {
        }
        SmbComReadAndXResponse( byte[] b, int off ) {
            this.b = b;
            this.off = off;
        }
    
        void setParam( byte[] b, int off ) {
            this.b = b;
            this.off = off;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            super( andx );
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        void setParam( int fid, long offset, int maxCount ) {
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
        }
        int getBatchLimit( byte command ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

        }
    
    
        /**
         * 
         * @param fid
         * @param offset
         * @param remaining
         * @param b
         * @param off
         * @param len
         */
        public final void setParam ( int fid, long offset, int remaining, byte[] b, int off, int len ) {
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
Back to top