Home
last modified time | relevance | path

Searched full:universe (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/external/python/python-api-core/tests/unit/
Dtest_universe.py16 from google.api_core import universe
29 assert universe.determine_domain(domain_client, domain_env) == domain_client
30 assert universe.determine_domain(None, domain_env) == domain_env
31 assert universe.determine_domain(domain_client, None) == domain_client
32 assert universe.determine_domain(None, None) == universe.DEFAULT_UNIVERSE
34 with pytest.raises(universe.EmptyUniverseError):
35 universe.determine_domain("", None)
37 with pytest.raises(universe.EmptyUniverseError):
38 universe.determine_domain(None, "")
45 assert universe.compare_domains(universe.DEFAULT_UNIVERSE, _Fake_Credentials())
[all …]
/external/flatbuffers/goldens/rust/
Dbasic_generated.rs129 pub struct Universe<'a> { struct
133 impl<'a> flatbuffers::Follow<'a> for Universe<'a> { implementation
134 type Inner = Universe<'a>;
141 impl<'a> Universe<'a> { impl
147 Universe { _tab: table } in init_from_table()
153 ) -> flatbuffers::WIPOffset<Universe<'bldr>> { in create()
166 unsafe { self._tab.get::<f64>(Universe::VT_AGE, Some(0.0)).unwrap()} in age()
173 …UOffset<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<Galaxy>>>>(Universe::VT_GALAXIES, Non… in galaxies()
177 impl flatbuffers::Verifiable for Universe<'_> { implementation
211 self.fbb_.push_slot::<f64>(Universe::VT_AGE, age, 0.0); in add_age()
[all …]
/external/python/python-api-core/google/api_core/
Duniverse.py15 """Helpers for universe domain."""
24 message = "Universe Domain cannot be an empty string."
31 … f"The configured universe domain ({client_universe}) does not match the universe domain "
33 "If you haven't configured the universe domain explicitly, "
42 """Return the universe domain used by the client.
45 … client_universe_domain (Optional[str]): The universe domain configured via the client options.
46 universe_domain_env (Optional[str]): The universe domain configured via the
50 str: The universe domain to be used by the client.
53 ValueError: If the universe domain is an empty string.
66 """Returns True iff the universe domains used by the client and credentials match.
[all …]
/external/flatbuffers/goldens/lua/
DUniverse.lua1 --[[ Universe
9 Rooting type : Universe (//basic.fbs)
16 local Universe = {}
19 function Universe.New()
25 function Universe.GetRootAsUniverse(buf, offset)
31 local o = Universe.New()
68 function Universe.Start(builder)
72 function Universe.AddAge(builder, age)
76 function Universe.AddGalaxies(builder, galaxies)
80 function Universe.StartGalaxiesVector(builder, numElems)
[all …]
/external/flatbuffers/goldens/cpp/
Dbasic_generated.h22 struct Universe;
66 struct Universe FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
89 typedef Universe Table;
93 fbb_.AddElement<double>(Universe::VT_AGE, age, 0.0); in add_age()
96 fbb_.AddOffset(Universe::VT_GALAXIES, galaxies); in add_galaxies()
102 ::flatbuffers::Offset<Universe> Finish() { in Finish()
104 auto o = ::flatbuffers::Offset<Universe>(end); in Finish()
109 inline ::flatbuffers::Offset<Universe> CreateUniverse(
119 inline ::flatbuffers::Offset<Universe> CreateUniverseDirect(
130 inline const flatbuffers::goldens::Universe *GetUniverse(const void *buf) { in GetUniverse()
[all …]
/external/flatbuffers/goldens/csharp/flatbuffers/goldens/
DUniverse.cs12 public struct Universe : IFlatbufferObject struct
17 …public static Universe GetRootAsUniverse(ByteBuffer _bb) { return GetRootAsUniverse(_bb, new Unive… in GetRootAsUniverse()
18 …public static Universe GetRootAsUniverse(ByteBuffer _bb, Universe obj) { return (obj.__assign(_bb.… in GetRootAsUniverse()
21 public Universe __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
27 public static Offset<flatbuffers.goldens.Universe> CreateUniverse(FlatBufferBuilder builder, in CreateUniverse() argument
31 Universe.AddAge(builder, age); in CreateUniverse()
32 Universe.AddGalaxies(builder, galaxiesOffset); in CreateUniverse()
33 return Universe.EndUniverse(builder); in CreateUniverse()
44 public static Offset<flatbuffers.goldens.Universe> EndUniverse(FlatBufferBuilder builder) { in EndUniverse() argument
46 return new Offset<flatbuffers.goldens.Universe>(o); in EndUniverse()
[all …]
/external/flatbuffers/goldens/ts/flatbuffers/goldens/
Duniverse.ts10 export class Universe { class
13 __init(i:number, bb:flatbuffers.ByteBuffer):Universe {
19 static getRootAsUniverse(bb:flatbuffers.ByteBuffer, obj?:Universe):Universe {
20 return (obj || new Universe()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
23 static getSizePrefixedRootAsUniverse(bb:flatbuffers.ByteBuffer, obj?:Universe):Universe {
25 return (obj || new Universe()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
81 Universe.startUniverse(builder);
82 Universe.addAge(builder, age);
83 Universe.addGalaxies(builder, galaxiesOffset);
84 return Universe.endUniverse(builder);
/external/flatbuffers/goldens/go/flatbuffers/goldens/
DUniverse.go9 type Universe struct { struct
13 func GetRootAsUniverse(buf []byte, offset flatbuffers.UOffsetT) *Universe {
15 x := &Universe{}
24 func GetSizePrefixedRootAsUniverse(buf []byte, offset flatbuffers.UOffsetT) *Universe {
26 x := &Universe{}
35 func (rcv *Universe) Init(buf []byte, i flatbuffers.UOffsetT) { argument
40 func (rcv *Universe) Table() flatbuffers.Table { argument
44 func (rcv *Universe) Age() float64 { argument
52 func (rcv *Universe) MutateAge(n float64) bool { argument
56 func (rcv *Universe) Galaxies(obj *Galaxy, j int) bool { argument
[all …]
/external/flatbuffers/goldens/java/flatbuffers/goldens/
DUniverse.java23 public final class Universe extends Table { class
25 …public static Universe getRootAsUniverse(ByteBuffer _bb) { return getRootAsUniverse(_bb, new Unive… in getRootAsUniverse()
26 …public static Universe getRootAsUniverse(ByteBuffer _bb, Universe obj) { _bb.order(ByteOrder.LITTL… in getRootAsUniverse()
28 public Universe __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
41 Universe.addAge(builder, age); in createUniverse()
42 Universe.addGalaxies(builder, galaxiesOffset); in createUniverse()
43 return Universe.endUniverse(builder); in createUniverse()
61 public Universe get(int j) { return get(new Universe(), j); } in get()
62 …public Universe get(Universe obj, int j) { return obj.__assign(__indirect(__element(j), bb), bb);… in get()
/external/flatbuffers/goldens/nim/
DUniverse.nim1 #[ Universe
8 Rooting type : Universe (//basic.fbs)
15 type Universe* = object of FlatObj
16 func age*(self: Universe): float64 =
21 func `age=`*(self: var Universe, n: float64): bool =
23 func galaxiesLength*(self: Universe): int =
27 func galaxies*(self: Universe, j: int): Galaxy.Galaxy =
33 func galaxies*(self: Universe): seq[Galaxy.Galaxy] =
/external/llvm/include/llvm/ADT/
DSparseSet.h15 // a moderately sized universe. The sparse set uses more memory than other
31 /// be uniquely converted to a small integer less than the set's universe. This
82 /// SparseSet allocates memory proportional to the size of the key universe, so
95 /// iteration independent on the size of the universe.
99 /// the sparse array which is the size of the key universe. The SparseT
104 /// array uses 4 x Universe bytes.
130 unsigned Universe;
146 SparseSet() : Sparse(nullptr), Universe(0) {}
149 /// setUniverse - Set the universe size which determines the largest key the
150 /// set can hold. The universe must be sized before any elements can be
[all …]
DSparseMultiSet.h14 // from a moderately sized universe. The sparse multiset uses more memory than
32 /// universe, so it is not recommended for building composite data structures.
45 /// independent on the size of the universe.
49 /// the sparse array which is the size of the key universe. The SparseT template
53 /// sparse array uses 4 x Universe bytes.
117 unsigned Universe; variable
128 assert(ValIndexOf(Val) < Universe && in sparseIndex()
191 : Sparse(nullptr), Universe(0), FreelistIdx(SMSNode::INVALID), NumFree(0) {} in SparseMultiSet()
195 /// Set the universe size which determines the largest key the set can hold.
196 /// The universe must be sized before any elements can be added.
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSparseSet.h14 // a moderately sized universe. The sparse set uses more memory than other
34 /// be uniquely converted to a small integer less than the set's universe. This
85 /// SparseSet allocates memory proportional to the size of the key universe, so
98 /// iteration independent on the size of the universe.
102 /// the sparse array which is the size of the key universe. The SparseT
107 /// array uses 4 x Universe bytes.
133 unsigned Universe = 0;
149 /// setUniverse - Set the universe size which determines the largest key the
150 /// set can hold. The universe must be sized before any elements can be
153 /// @param U Universe size. All object keys must be less than U.
[all …]
DSparseMultiSet.h13 // from a moderately sized universe. The sparse multiset uses more memory than
39 /// universe, so it is not recommended for building composite data structures.
52 /// independent on the size of the universe.
56 /// the sparse array which is the size of the key universe. The SparseT template
60 /// sparse array uses 4 x Universe bytes.
124 unsigned Universe = 0; variable
135 assert(ValIndexOf(Val) < Universe && in sparseIndex()
197 /// Set the universe size which determines the largest key the set can hold.
198 /// The universe must be sized before any elements can be added.
200 /// @param U Universe size. All object keys must be less than U.
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/
DSparseSet.h15 /// a moderately sized universe. The sparse set uses more memory than other
35 /// be uniquely converted to a small integer less than the set's universe. This
86 /// SparseSet allocates memory proportional to the size of the key universe, so
99 /// iteration independent on the size of the universe.
103 /// the sparse array which is the size of the key universe. The SparseT
108 /// array uses 4 x Universe bytes.
133 unsigned Universe = 0;
149 /// setUniverse - Set the universe size which determines the largest key the
150 /// set can hold. The universe must be sized before any elements can be
153 /// @param U Universe size. All object keys must be less than U.
[all …]
DSparseMultiSet.h14 /// from a moderately sized universe. The sparse multiset uses more memory than
40 /// universe, so it is not recommended for building composite data structures.
53 /// independent on the size of the universe.
57 /// the sparse array which is the size of the key universe. The SparseT template
61 /// sparse array uses 4 x Universe bytes.
124 unsigned Universe = 0; variable
135 assert(ValIndexOf(Val) < Universe && in sparseIndex()
197 /// Set the universe size which determines the largest key the set can hold.
198 /// The universe must be sized before any elements can be added.
200 /// @param U Universe size. All object keys must be less than U.
[all …]
/external/flatbuffers/goldens/py/flatbuffers/goldens/
DUniverse.py9 class Universe(object): class
15 x = Universe()
23 # Universe
27 # Universe
34 # Universe
47 # Universe
54 # Universe
/external/flatbuffers/goldens/dart/
Dbasic_flatbuffers.goldens_generated.dart81 class Universe {
82 Universe._(this._bc, this._bcOffset);
83 factory Universe(List<int> bytes) {
88 static const fb.Reader<Universe> reader = _UniverseReader();
98 return 'Universe{age: ${age}, galaxies: ${galaxies}}';
102 class _UniverseReader extends fb.TableReader<Universe> {
106 Universe createObject(fb.BufferContext bc, int offset) =>
107 Universe._(bc, offset);
/external/flatbuffers/goldens/kotlin/flatbuffers/goldens/
DUniverse.kt22 class Universe : Table() { class
27 fun __assign(_i: Int, _bb: ByteBuffer) : Universe { in __assign()
51 fun getRootAsUniverse(_bb: ByteBuffer): Universe = getRootAsUniverse(_bb, Universe()) in validateVersion()
52 fun getRootAsUniverse(_bb: ByteBuffer, obj: Universe): Universe { in validateVersion()
/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/
DDownscopedCredentials.java116 // Ensure source credential's universe domain matches. in DownscopedCredentials()
120 "The downscoped credential's universe domain must be the same as the source " in DownscopedCredentials()
126 "Error occurred when attempting to retrieve source credential universe domain.", e); in DownscopedCredentials()
178 * Returns the universe domain for the credential.
180 * @return An explicit universe domain if it was explicitly provided, otherwise the default Google
181 * universe will be returned.
244 * Sets the optional universe domain.
246 * @param universeDomain the universe domain to set
/external/flatbuffers/goldens/php/flatbuffers/goldens/
DUniverse.php11 class Universe extends Table class
15 * @return Universe
19 $obj = new Universe();
26 * @return Universe
74 * @return Universe
/external/tensorflow/tensorflow/tools/ci_build/install/
Dinstall_pi_toolchain.sh18 echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty main restricted universe multiverse' >> /etc…
19 echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-updates main restricted universe multiverse'…
20 echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-security main restricted universe multiverse…
21 echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-backports main restricted universe multivers…
Dinstall_pi_python3x_toolchain.sh22 echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ ${debian_codename} main restricted universe m…
23 …hf] http://ports.ubuntu.com/ ${debian_codename}-updates main restricted universe multiverse" >> /e…
24 …f] http://ports.ubuntu.com/ ${debian_codename}-security main restricted universe multiverse" >> /e…
25 …] http://ports.ubuntu.com/ ${debian_codename}-backports main restricted universe multiverse" >> /e…
/external/tensorflow/tensorflow/lite/tools/pip_package/
Dupdate_sources.sh25 deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${UBUNTU_CODENAME} main universe
26 deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${UBUNTU_CODENAME}-updates main universe
27 …b [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${UBUNTU_CODENAME}-security main universe
/external/flatbuffers/goldens/lobster/
Dbasic_generated.lobster8 class Universe
27 class Universe : flatbuffers.handle
35 def GetRootAsUniverse(buf:string): return Universe { buf, flatbuffers.indirect(buf, 0) }

12345678910>>...14