Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for PTR (0.04 sec)

  1. statement.go

    		case sql.NamedArg:
    			stmt.Vars = append(stmt.Vars, v.Value)
    		case clause.Column, clause.Table:
    			stmt.QuoteTo(writer, v)
    		case Valuer:
    			reflectValue := reflect.ValueOf(v)
    			if reflectValue.Kind() == reflect.Ptr && reflectValue.IsNil() {
    				stmt.AddVar(writer, nil)
    			} else {
    				stmt.AddVar(writer, v.GormValue(stmt.Context, stmt.DB))
    			}
    		case clause.Interface:
    			c := clause.Clause{Name: v.Name()}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            }
            switch (type) {
                case 1: /* unique */
                case 3: /* ref */
                    enc_ndr_long(System.identityHashCode(obj));
                    return;
                case 2: /* ptr */
                    enc_ndr_long(getDceReferent(obj));
                    return;
            }
        }
    
        public String toString() {
            return "start=" + start + ",index=" + index + ",length=" + getLength();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.cc

      }
      GradientTape::RecordOperation(
          op_name, tape_tensors, input_ids, input_dtypes,
          [gradient_function]() -> GradientFunction* { return gradient_function; },
          [](GradientFunction* ptr) {
            if (ptr) {
              delete ptr;
            }
          });
    }
    bool Tape::ShouldRecord(
        absl::Span<const AbstractTensorHandle* const> tensors) const {
      std::vector<int64_t> tensor_ids(tensors.size());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                return;
            }
            switch ( type ) {
            case 1: /* unique */
            case 3: /* ref */
                enc_ndr_long(System.identityHashCode(obj));
                return;
            case 2: /* ptr */
                enc_ndr_long(getDceReferent(obj));
                return;
            }
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. cmd/warm-backend-azure.go

    func (az *warmBackendAzure) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	azMeta := map[string]*string{}
    	for k, v := range meta {
    		azMeta[k] = to.Ptr(v)
    	}
    	resp, err := az.clnt.UploadStream(ctx, az.Bucket, az.getDest(object), io.LimitReader(r, length), &azblob.UploadStreamOptions{
    		Concurrency: 4,
    		AccessTier:  az.tier(), // set tier if specified
    		Metadata:    azMeta,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    			job.Replicate.Source.Snowball.InMemory = ptr(true)
    		}
    		if job.Replicate.Source.Snowball.Compress == nil {
    			job.Replicate.Source.Snowball.Compress = ptr(false)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. clause/expression.go

    		value, _ = valuer.Value()
    	}
    
    	return value == nil || eqNilReflect(value)
    }
    
    func eqNilReflect(value interface{}) bool {
    	reflectValue := reflect.ValueOf(value)
    	return reflectValue.Kind() == reflect.Ptr && reflectValue.IsNil()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. callbacks.go

    			} else {
    				db.AddError(err)
    			}
    		}
    	}
    
    	// assign stmt.ReflectValue
    	if stmt.Dest != nil {
    		stmt.ReflectValue = reflect.ValueOf(stmt.Dest)
    		for stmt.ReflectValue.Kind() == reflect.Ptr {
    			if stmt.ReflectValue.IsNil() && stmt.ReflectValue.CanAddr() {
    				stmt.ReflectValue.Set(reflect.New(stmt.ReflectValue.Type().Elem()))
    			}
    
    			stmt.ReflectValue = stmt.ReflectValue.Elem()
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

      static const char** ToArray(const std::vector<string>& strs) {
        const char** ptr = nullptr;
        if (!strs.empty()) {
          ptr = new const char*[strs.size()];
          for (size_t i = 0; i < strs.size(); ++i) {
            ptr[i] = strs[i].c_str();
          }
        }
        return ptr;
      }
    
      // An explicit `num_opers` is needed so that we can distinguish between the
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. finisher_api.go

    func (db *DB) Save(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    
    	reflectValue := reflect.Indirect(reflect.ValueOf(value))
    	for reflectValue.Kind() == reflect.Ptr || reflectValue.Kind() == reflect.Interface {
    		reflectValue = reflect.Indirect(reflectValue)
    	}
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		if _, ok := tx.Statement.Clauses["ON CONFLICT"]; !ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top