Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WriteRecord (0.12 sec)

  1. src/net/http/fcgi/fcgi.go

    		return err
    	}
    	return nil
    }
    
    func (r *record) content() []byte {
    	return r.buf[:r.h.ContentLength]
    }
    
    // writeRecord writes and sends a single record.
    func (c *conn) writeRecord(recType recType, reqId uint16, b []byte) error {
    	c.mutex.Lock()
    	defer c.mutex.Unlock()
    	c.buf.Reset()
    	c.h.init(recType, reqId, len(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc

        if (!enabled_) return;
    
        const Tensor& tensor_data = ctx->input(0);
    
        TensorProto tensor_proto;
        tensor_data.AsProtoTensorContent(&tensor_proto);
    
        OP_REQUIRES_OK(ctx, tensor_data_writer_->WriteRecord(
                                tensor_proto.SerializeAsString()));
      }
    
     private:
      bool enabled_;
      std::unique_ptr<tsl::WritableFile> tensor_data_file_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 03:12:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/net/http/fcgi/child.go

    		}
    		if !req.keepConn {
    			// connection will close upon return
    			return errCloseConn
    		}
    		return nil
    	default:
    		b := make([]byte, 8)
    		b[0] = byte(rec.h.Type)
    		c.conn.writeRecord(typeUnknownType, 0, b)
    		return nil
    	}
    }
    
    // filterOutUsedEnvVars returns a new map of env vars without the
    // variables in the given envVars map that are read for creating each http.Request
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top