Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 453 for typeName (0.17 sec)

  1. pkg/ptr/pointer_test.go

    	assertEqual(t, OrEmpty[int](nil), 0)
    	assertEqual(t, OrEmpty(&one), 1)
    }
    
    func TestTypeName(t *testing.T) {
    	type ts struct{}
    	assertEqual(t, TypeName[int](), "int")
    	assertEqual(t, TypeName[string](), "string")
    	assertEqual(t, TypeName[ts](), "ptr.ts")
    	assertEqual(t, TypeName[*ts](), "*ptr.ts")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 23:31:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

                                              const char* file, int line);
    
    template <typename> class ParamGeneratorInterface;
    template <typename> class ParamGenerator;
    
    // Interface for iterating over elements provided by an implementation
    // of ParamGeneratorInterface<T>.
    template <typename T>
    class ParamIteratorInterface {
     public:
      virtual ~ParamIteratorInterface() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h

      bool operator!=(T* p) const { return value_ != p; }
      template <typename U>
      bool operator==(linked_ptr<U> const& ptr) const {
        return value_ == ptr.get();
      }
      template <typename U>
      bool operator!=(linked_ptr<U> const& ptr) const {
        return value_ != ptr.get();
      }
    
     private:
      template <typename U>
      friend class linked_ptr;
    
      T* value_;
      linked_ptr_internal link_;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                ]
                additionalData.asMap == [
                    'typeName' : 'MyTask',
                    'propertyName' : "my$typeName",
                ]
            }
    
            where:
            typeName   | parameterType      | producer                                                            | className
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h

    namespace OpTrait {
    namespace quant {
    
    // The base class that all the quantization related OpTrait implements.
    template <typename ConcreteType, template <typename> class TraitType>
    struct QuantizationSpecTraitBase : public TraitBase<ConcreteType, TraitType> {
      static bool IsBias(int index) { return false; }
      static bool IsQuantizable() { return true; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. cluster/gce/windows/testonly/user-profile.psm1

    }
    function Get-Win32LastError
    {
        [CmdletBinding()]
        [Alias()]
        [OutputType([int])]
        Param($typeName = 'LastError')
     if (-not ([System.Management.Automation.PSTypeName]$typeName).Type)
        {
        $lasterrorCode = $script:lasterror | ForEach-Object{
            '[DllImport("kernel32.dll", SetLastError = true)]
             public static extern uint GetLastError();'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_compilation_cache.h

          TF_GUARDED_BY(compile_cache_mu_);
    
      DeviceCompilationCache(const DeviceCompilationCache&) = delete;
      void operator=(const DeviceCompilationCache&) = delete;
    };
    
    template <typename ExecutableType>
    std::optional<typename DeviceCompilationCache<ExecutableType>::Value>
    DeviceCompilationCache<ExecutableType>::Lookup(const Key& key) const {
      // The outer lock protects the existence of the cache entry. It does not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/assume_cache.go

    	if !ok {
    		return nil, &assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj}
    	}
    	return pv, nil
    }
    
    func (c *PVAssumeCache) GetAPIPV(pvName string) (*v1.PersistentVolume, error) {
    	obj, err := c.GetAPIObj(pvName)
    	if err != nil {
    		return nil, err
    	}
    	pv, ok := obj.(*v1.PersistentVolume)
    	if !ok {
    		return nil, &assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj}
    	}
    	return pv, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

    // include/gtest/gtest-param-test.h.
    template <typename ForwardIterator>
    internal::ParamGenerator<
      typename ::testing::internal::IteratorTraits<ForwardIterator>::value_type>
    ValuesIn(ForwardIterator begin, ForwardIterator end);
    
    template <typename T, size_t N>
    internal::ParamGenerator<T> ValuesIn(const T (&array)[N]);
    
    template <class Container>
    internal::ParamGenerator<typename Container::value_type> ValuesIn(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

            return true;
          }
        }
      }
      return false;
    }
    
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    void GradientTape<Gradient, BackwardFunction, TapeTensor>::Watch(
        int64_t tensor_id) {
      tensor_tape_.emplace(tensor_id, -1);
    }
    
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    void GradientTape<Gradient, BackwardFunction, TapeTensor>::RecordOperation(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
Back to top