Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for type_ (0.03 sec)

  1. tensorflow/cc/experimental/libtf/value.h

      void* capsule() const { return get<impl::Capsule>().get(); }
    
      /// Retrieves type of TaggedValue.
      Type type() const { return type_; }
    
      /// @brief Implements equality operator for TaggedValue.
      bool operator==(const TaggedValue& o) const {
        if (type_ != o.type_) return false;
        switch (type_) {
          case LIST:
            return data_.list == o.data_.list;
            break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loadmacho/ldmacho.go

    		machsym := &symtab.sym[i]
    		if machsym.type_&N_STAB != 0 {
    			continue
    		}
    
    		// TODO: check sym->type against outer->type.
    		name := machsym.name
    
    		if name[0] == '_' && name[1] != '\x00' {
    			name = name[1:]
    		}
    		v := 0
    		if machsym.type_&N_EXT == 0 {
    			v = localSymVersion
    		}
    		s := l.LookupOrCreateCgoExport(name, v)
    		if machsym.type_&N_EXT == 0 {
    			l.SetAttrDuplicateOK(s, true)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loadelf/ldelf.go

    		}
    		symbols[i] = elfsym.sym
    		if elfsym.type_ != elf.STT_FUNC && elfsym.type_ != elf.STT_OBJECT && elfsym.type_ != elf.STT_NOTYPE && elfsym.type_ != elf.STT_COMMON {
    			continue
    		}
    		if elfsym.shndx == elf.SHN_COMMON || elfsym.type_ == elf.STT_COMMON {
    			sb := l.MakeSymbolUpdater(elfsym.sym)
    			if uint64(sb.Size()) < elfsym.size {
    				sb.SetSize(int64(elfsym.size))
    			}
    			if sb.Type() == 0 || sb.Type() == sym.SXREF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. fastapi/_compat.py

            field_info = field.field_info
            if not (
                field.shape == SHAPE_SINGLETON  # type: ignore[attr-defined]
                and not lenient_issubclass(field.type_, BaseModel)
                and not lenient_issubclass(field.type_, dict)
                and not field_annotation_is_sequence(field.type_)
                and not is_dataclass(field.type_)
                and not isinstance(field_info, params.Body)
            ):
                return False
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. fastapi/openapi/models.py

    
    class SecurityBase(BaseModelWithConfig):
        type_: SecuritySchemeType = Field(alias="type")
        description: Optional[str] = None
    
    
    class APIKeyIn(Enum):
        query = "query"
        header = "header"
        cookie = "cookie"
    
    
    class APIKey(SecurityBase):
        type_: SecuritySchemeType = Field(default=SecuritySchemeType.apiKey, alias="type")
        in_: APIKeyIn = Field(alias="in")
        name: str
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. fastapi/encoders.py

    )
    from pathlib import Path, PurePath
    from re import Pattern
    from types import GeneratorType
    from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
    from uuid import UUID
    
    from fastapi.types import IncEx
    from pydantic import BaseModel
    from pydantic.color import Color
    from pydantic.networks import AnyUrl, NameEmail
    from pydantic.types import SecretBytes, SecretStr
    from typing_extensions import Annotated, Doc
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho.go

    	flag       uint32
    }
    
    // MachoPlatformLoad represents a LC_VERSION_MIN_* or
    // LC_BUILD_VERSION load command.
    type MachoPlatformLoad struct {
    	platform MachoPlatform // One of PLATFORM_* constants.
    	cmd      MachoLoad
    }
    
    type MachoLoad struct {
    	type_ uint32
    	data  []uint32
    }
    
    type MachoPlatform int
    
    /*
     * Total amount of space to reserve at the start of the file
     * for Header, PHeaders, and SHeaders.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

                    and isinstance(field_info, params.File)
                    and value_is_sequence(value)
                ):
                    # For types
                    assert isinstance(value, sequence_types)  # type: ignore[arg-type]
                    results: List[Union[bytes, str]] = []
    
                    async def process_fn(
                        fn: Callable[[], Coroutine[Any, Any, Any]],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    ----
    
    A _named managed type_ is a managed type that additionally has an abstract property "name" of type `String`.
    Named managed types are especially useful as the element type of link:{javadocPath}/org/gradle/api/NamedDomainObjectContainer.html[NamedDomainObjectContainer]:
    
    ====
    include::sample[dir="snippets/providers/property/kotlin",files="build.gradle.kts[tags=named]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

            //   We will produce the correct message after https://github.com/gradle/gradle/issues/26141 is fixed.
            failureDescriptionContains(missingValueMessage { type('org.gradle.api.tasks.bundling.Jar').property('archiveFile') })
        }
    
        def "can use Provider values in manifest attribute"() {
            given:
            buildFile << """
                task jar(type: Jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top