Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 270 for ptr (0.05 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        if (ft == nullptr) {
          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      TF_Graph* graph_;  // For shape inference.
    };
    
    // GraphOperation wraps and populates a TF_OperationDescription.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      LogInfoRawStream() { SetUnbuffered(); }
      ~LogInfoRawStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
        fprintf(stderr, "%.*s", static_cast<int>(size), ptr);
      }
    };
    
    // Simple raw_ostream that prints to a file.
    struct WritableFileRawStream : public llvm::raw_ostream {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pkg/controller/deployment/sync_test.go

    		},
    		{
    			name:          "saturated but broken new replica set does not affect old pods",
    			deployment:    newDeployment("foo", 2, nil, ptr.To(intstr.FromInt32(1)), ptr.To(intstr.FromInt32(1)), nil),
    			oldDeployment: newDeployment("foo", 2, nil, ptr.To(intstr.FromInt32(1)), ptr.To(intstr.FromInt32(1)), nil),
    
    			newRS: func() *apps.ReplicaSet {
    				rs := rs("foo-v2", 2, nil, newTimestamp)
    				rs.Status.AvailableReplicas = 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. pkg/registry/batch/cronjob/strategy_test.go

    		Schedule:          "5 5 * * ?",
    		ConcurrencyPolicy: batch.AllowConcurrent,
    		TimeZone:          ptr.To("Asia/Shanghai"),
    		JobTemplate: batch.JobTemplateSpec{
    			Spec: batch.JobSpec{
    				Template:       validPodTemplateSpec,
    				CompletionMode: completionModePtr(batch.IndexedCompletion),
    				Completions:    ptr.To[int32](10),
    				Parallelism:    ptr.To[int32](10),
    			},
    		},
    	}
    	cronjobSpecWithTZinSchedule = batch.CronJobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conditions.go

    		supported = []k8s.RouteGroupKind{
    			{Group: (*k8s.Group)(ptr.Of(gvk.HTTPRoute.Group)), Kind: k8s.Kind(gvk.HTTPRoute.Kind)},
    			{Group: (*k8s.Group)(ptr.Of(gvk.GRPCRoute.Group)), Kind: k8s.Kind(gvk.GRPCRoute.Kind)},
    		}
    	case k8s.TCPProtocolType:
    		supported = []k8s.RouteGroupKind{{Group: (*k8s.Group)(ptr.Of(gvk.TCPRoute.Group)), Kind: k8s.Kind(gvk.TCPRoute.Kind)}}
    	case k8s.TLSProtocolType:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. schema/field.go

    				if reflectV.Kind() == reflect.Ptr && reflectV.Elem().Kind() == reflect.Ptr {
    					reflectV = reflect.Indirect(reflectV)
    				}
    				field.ReflectValueOf(ctx, value).Set(reflectV)
    				return
    			} else if reflectValType.ConvertibleTo(field.FieldType) {
    				field.ReflectValueOf(ctx, value).Set(reflectV.Convert(field.FieldType))
    				return
    			} else if field.FieldType.Kind() == reflect.Ptr {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. test/codegen/comparisons.go

    func CmpZero1(a int32, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero2(a int64, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero3(a int32, ptr *int) {
    	if a >= 0 { // arm64:"TBNZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero4(a int64, ptr *int) {
    	if a >= 0 { // arm64:"TBNZ"
    		*ptr = 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. scan.go

    				relValue = joinSchema.ReflectValueOf(db.Statement.Context, currentReflectValue)
    				if relValue.Kind() == reflect.Ptr {
    					fullRelsName := utils.JoinNestedRelationNames(fullRels)
    					// same nested structure
    					if _, ok := joinedNestedSchemaMap[fullRelsName]; !ok {
    						if value := reflect.ValueOf(values[idx]).Elem(); value.Kind() == reflect.Ptr && value.IsNil() {
    							isNilPtrValue = true
    							break
    						}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/subr.go

    // an interface, a type parameter, or a concrete type.
    func Implements(t, iface *types.Type) bool {
    	var missing, have *types.Field
    	var ptr int
    	return implements(t, iface, &missing, &have, &ptr)
    }
    
    // ImplementsExplain reports whether t implements the interface iface. t can be
    // an interface, a type parameter, or a concrete type. If t does not implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    }
    
    // memclrNoHeapPointers clears n bytes starting at ptr.
    //
    // Usually you should use typedmemclr. memclrNoHeapPointers should be
    // used only when the caller knows that *ptr contains no heap pointers
    // because either:
    //
    // *ptr is initialized memory and its type is pointer-free, or
    //
    // *ptr is uninitialized memory (e.g., memory that's being reused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top