/dports/databases/pymongo/pymongo-3.12.0/test/ |
H A D | test_dbref.py | 21 from bson.dbref import DBRef 31 self.assertRaises(TypeError, DBRef) 38 self.assertTrue(DBRef("coll", a)) 39 self.assertTrue(DBRef(u"coll", a)) 44 a = DBRef("coll", ObjectId()) 77 self.assertEqual(DBRef('foo', 5), DBRef('foo', 5)) 78 self.assertEqual(DBRef("coll", obj_id), DBRef(u"coll", obj_id)) 81 self.assertNotEqual(DBRef("coll", obj_id), DBRef("col", obj_id)) 91 self.assertFalse(DBRef('foo', 5) != DBRef('foo', 5)) 92 self.assertFalse(DBRef("coll", obj_id) != DBRef(u"coll", obj_id)) [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/ |
H A D | dbref_test.go | 24 value := `DBRef("ref", "123")` 40 `DBRef("ref2", "456")`, `DBRef("ref3", "789")` 64 value := `DBRef("ref", "42")` 102 value := `DBRef("ref", null)` 117 value := `DBRef("ref", true)` 132 value := `DBRef("ref", false)` 162 value := `DBRef("ref", NaN)` 202 value := `DBRef("ref", MinKey)` 217 value := `DBRef("ref", MaxKey)` 322 value := `DBRef("ref", "xyz")` [all …]
|
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/legacy/json/ |
H A D | dbref_test.go | 25 value := `DBRef("ref", "123")` 41 `DBRef("ref2", "456")`, `DBRef("ref3", "789")` 65 value := `DBRef("ref", "42")` 103 value := `DBRef("ref", null)` 118 value := `DBRef("ref", true)` 133 value := `DBRef("ref", false)` 163 value := `DBRef("ref", NaN)` 203 value := `DBRef("ref", MinKey)` 218 value := `DBRef("ref", MaxKey)` 323 value := `DBRef("ref", "xyz")` [all …]
|
/dports/lang/erlang-runtime23/corba-5.0.2/lib/cosNotification/src/ |
H A D | cosNotification_eventDB.erl | 218 gc_events(DBRef, _Priority) when ?is_TimeoutNotUsed(DBRef) -> 220 gc_events(DBRef, _Priority) when ?is_StopTNotSupported(DBRef) -> 606 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 613 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 863 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 959 N when N < ?get_MaxEvents(DBRef), N > ?get_GCLimit(DBRef) -> 962 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 974 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 999 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 1138 ?is_TimeoutNotUsed(DBRef), ?is_StopTNotSupported(DBRef) -> [all …]
|
/dports/lang/erlang-runtime24/corba-5.0.2/lib/cosNotification/src/ |
H A D | cosNotification_eventDB.erl | 218 gc_events(DBRef, _Priority) when ?is_TimeoutNotUsed(DBRef) -> 220 gc_events(DBRef, _Priority) when ?is_StopTNotSupported(DBRef) -> 606 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 613 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 863 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 959 N when N < ?get_MaxEvents(DBRef), N > ?get_GCLimit(DBRef) -> 962 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 974 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 999 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 1138 ?is_TimeoutNotUsed(DBRef), ?is_StopTNotSupported(DBRef) -> [all …]
|
/dports/lang/erlang-runtime22/corba-4.5.2/lib/cosNotification/src/ |
H A D | cosNotification_eventDB.erl | 218 gc_events(DBRef, _Priority) when ?is_TimeoutNotUsed(DBRef) -> 220 gc_events(DBRef, _Priority) when ?is_StopTNotSupported(DBRef) -> 606 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 613 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 863 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 959 N when N < ?get_MaxEvents(DBRef), N > ?get_GCLimit(DBRef) -> 962 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 974 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 999 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 1138 ?is_TimeoutNotUsed(DBRef), ?is_StopTNotSupported(DBRef) -> [all …]
|
/dports/lang/erlang/corba-5.0.2/lib/cosNotification/src/ |
H A D | cosNotification_eventDB.erl | 218 gc_events(DBRef, _Priority) when ?is_TimeoutNotUsed(DBRef) -> 220 gc_events(DBRef, _Priority) when ?is_StopTNotSupported(DBRef) -> 606 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 613 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 863 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 959 N when N < ?get_MaxEvents(DBRef), N > ?get_GCLimit(DBRef) -> 962 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 974 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 999 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 1138 ?is_TimeoutNotUsed(DBRef), ?is_StopTNotSupported(DBRef) -> [all …]
|
/dports/lang/erlang-runtime21/corba-4.5.2/lib/cosNotification/src/ |
H A D | cosNotification_eventDB.erl | 218 gc_events(DBRef, _Priority) when ?is_TimeoutNotUsed(DBRef) -> 220 gc_events(DBRef, _Priority) when ?is_StopTNotSupported(DBRef) -> 606 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 613 move_events(DBRef, NewDBRef, ets:first(?get_OrderRef(DBRef)), 863 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 959 N when N < ?get_MaxEvents(DBRef), N > ?get_GCLimit(DBRef) -> 962 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 974 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 999 ?get_StopTsupport(DBRef), ?get_TimeRef(DBRef), 1138 ?is_TimeoutNotUsed(DBRef), ?is_StopTNotSupported(DBRef) -> [all …]
|
/dports/databases/p5-BSON-XS/BSON-XS-v0.8.4/t/mapping/ |
H A D | dbref.t | 22 # test BSON::DBRef constructor 37 # BSON::DBRef-> BSON::DBRef 41 is( ref( $hash->{A} ), 'BSON::DBRef', "BSON::DBRef->BSON::DBRef" ); 42 is( $hash->{A}->id, $dbref->id, "DBRef id" ); 43 is( $hash->{A}->ref, $dbref->ref, "DBRef ref" ); 46 # BSON::DBRef->HASH 55 # MongoDB::DBRef -> BSON::Regex 58 eval { require MongoDB::DBRef }; 59 skip( "MongoDB::DBRef v1.0.0+ not installed", 4 ) 60 unless $INC{'MongoDB/DBRef.pm'} && eval {MongoDB::DBRef->VERSION("v1.0.0")}; [all …]
|
/dports/databases/p5-BSON/BSON-v1.12.2/t/mapping/ |
H A D | dbref.t | 22 # test BSON::DBRef constructor 37 # BSON::DBRef-> BSON::DBRef 41 is( ref( $hash->{A} ), 'BSON::DBRef', "BSON::DBRef->BSON::DBRef" ); 42 is( $hash->{A}->id, $dbref->id, "DBRef id" ); 43 is( $hash->{A}->ref, $dbref->ref, "DBRef ref" ); 46 # BSON::DBRef->HASH 55 # MongoDB::DBRef -> BSON::Regex 58 eval { require MongoDB::DBRef }; 59 skip( "MongoDB::DBRef v1.0.0+ not installed", 4 ) 60 unless $INC{'MongoDB/DBRef.pm'} && eval {MongoDB::DBRef->VERSION("v1.0.0")}; [all …]
|
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/ |
H A D | dbref.t | 32 ok( my $ref = BSON::DBRef->new( db => 'test', ref => 'test_coll', id => 123 ), "constructor" ); 33 isa_ok( $ref, 'BSON::DBRef' ); 40 my $ref = BSON::DBRef->new( db => $testdb->name, ref => $coll, id => 123 ); 50 $ref = BSON::DBRef->new( ref => $coll, id => 123 ); 53 $ref = BSON::DBRef->new( ref => $coll, id => 123, db => undef ); 59 my $dbref = BSON::DBRef->new( db => 'some_db', ref => 'some_coll', id => 123 ); 69 isa_ok $thing, 'BSON::DBRef'; 74 $dbref = BSON::DBRef->new( ref => 'some_coll', id => 123 ); 78 isa_ok( $thing, 'BSON::DBRef' ); 104 isa_ok( $dbref, "BSON::DBRef" );
|
/dports/lang/yap/yap-6.2.2/VC/include/ |
H A D | Yatom.h | 629 #define DBStructFlagsToDBStruct(X) ((DBRef)((X) - (CELL) &(((DBRef) NIL)->Flags))) 643 typedef DBStruct *DBRef; typedef 656 inline EXTERN Term MkDBRefTerm(DBRef); 658 inline EXTERN Term MkDBRefTerm(DBRef p) in MkDBRefTerm() 665 inline EXTERN DBRef DBRefOfTerm(Term t); 667 inline EXTERN DBRef DBRefOfTerm(Term t) in DBRefOfTerm() 669 return (DBRef) (((DBRef)(RepAppl(t)))); in DBRefOfTerm() 702 DBRef Last; /* last DBase entry */ 722 DBRef Last; /* last DBase entry */ 899 DBRef *terms; [all …]
|
H A D | sshift.h | 308 inline EXTERN DBRef DBRefAdjust(DBRef); 310 inline EXTERN DBRef DBRefAdjust(DBRef dbr) in DBRefAdjust() 312 return (DBRef) ((DBRef)(CharP(dbr)+HDiff) ); in DBRefAdjust()
|
/dports/lang/yap/yap-6.2.2/C/ |
H A D | dbase.c | 168 DBRef entry; 190 STATIC_PROTO(DBRef check_if_cons, (DBRef, Term)); 191 STATIC_PROTO(DBRef check_if_var, (DBRef)); 1205 static DBRef 1215 static DBRef 1303 static DBRef 1331 static DBRef 1364 DBRef *TmpRefBase = (DBRef *)Yap_TrailTop; in CreateDBStruct() 1623 DBRef *ptr = TmpRefBase, *rfnar = (DBRef *)nar; in CreateDBStruct() 2279 DBRef dbr; in p_still_variant() [all …]
|
/dports/biology/jalview/jalview/src/jalview/xml/binding/jalview/ |
H A D | Sequence.java | 66 protected List<Sequence.DBRef> dbRef; 94 public List<Sequence.DBRef> getDBRef() { in getDBRef() 96 dbRef = new ArrayList<Sequence.DBRef>(); in getDBRef() 177 public static class DBRef { class in Sequence
|
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/SeqIO/ |
H A D | seqxml.pm | 845 my $DBRef = {}; 849 $self->processAttribute($DBRef); 855 if ( defined $DBRef->{'source'} 856 && defined $DBRef->{'id'} 857 && defined $DBRef->{'type'}) 860 -primary_id => $DBRef->{'id'}, 861 -database => $DBRef->{'source'}, 862 -type => $DBRef->{'type'},
|
/dports/lang/yap/yap-6.2.2/H/ |
H A D | sshift.h | 537 inline EXTERN DBRef DBRefAdjust (DBRef); 539 inline EXTERN DBRef 540 DBRefAdjust (DBRef dbr) in DBRefAdjust() 542 return (DBRef) ((DBRef) (CharP (dbr) + HDiff)); in DBRefAdjust() 547 inline EXTERN DBRef *DBRefPAdjust (DBRef *); 549 inline EXTERN DBRef * 550 DBRefPAdjust (DBRef * dbrp) in DBRefPAdjust() 552 return (DBRef *) ((DBRef *) (CharP (dbrp) + HDiff)); in DBRefPAdjust()
|
H A D | Yatom.h | 881 #define DBStructFlagsToDBStruct(X) ((DBRef)((char *)(X) - (CELL) &(((DBRef) NULL)->Flags))) 895 typedef DBStruct *DBRef; typedef 909 inline EXTERN Term MkDBRefTerm (DBRef); 912 MkDBRefTerm (DBRef p) in MkDBRefTerm() 919 inline EXTERN DBRef DBRefOfTerm (Term t); 921 inline EXTERN DBRef 924 return (DBRef) (((DBRef) (RepAppl (t)))); in DBRefOfTerm() 960 DBRef Last; /* last DBase entry */ 962 DBRef F0, L0; /* everyone */ 977 DBRef Last; /* last DBase entry */ [all …]
|
/dports/databases/py-mongoengine/mongoengine-0.20.0/mongoengine/ |
H A D | dereference.py | 1 from bson import DBRef, SON 73 elif not isinstance(v, (DBRef, Document)): 86 elif not isinstance(v, (DBRef, Document)): 126 elif isinstance(v, DBRef): 146 elif isinstance(item, DBRef): 266 if isinstance(v, DBRef): 284 elif isinstance(v, DBRef) and hasattr(v, "id"):
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/bsonutil/ |
H A D | converter.go | 93 case json.DBRef: // DBRef 99 return mgo.DBRef{v.Collection, v.Id, v.Database}, nil 227 case mgo.DBRef: // DBRef 228 return json.DBRef{v.Collection, v.Id, v.Database}, nil 353 case mgo.DBRef: // DBRef 354 return json.DBRef{v.Collection, v.Id, v.Database}, nil
|
/dports/databases/pymongo/pymongo-3.12.0/pymongo/ |
H A D | son_manipulator.py | 36 from bson.dbref import DBRef 159 return DBRef(value["_ns"], transform_value(value["_id"])) 178 if isinstance(value, DBRef):
|
/dports/databases/pymongo/pymongo-3.12.0/bson/ |
H A D | dbref.py | 23 class DBRef(object): class 114 if isinstance(other, DBRef): 132 return DBRef(deepcopy(self.__collection, memo),
|
/dports/databases/pecl-mongodb/mongodb-1.9.1/tests/bson-corpus/ |
H A D | dbref-valid-001.phpt | 2 DBRef: DBRef
|
H A D | dbref-valid-004.phpt | 2 DBRef: DBRef with additional fields
|
/dports/science/mmdb2/mmdb2-2.0.20/mmdb2/ |
H A D | mmdb_chain.cpp | 355 ContainerChain::Copy ( DBRef ); in Copy() 357 seqBeg = PDBReference(DBRef)->seqBeg; in Copy() 358 seqEnd = PDBReference(DBRef)->seqEnd; in Copy() 1319 DBRef .SetChain ( this ); in SetChain() 1346 DBRef .FreeContainer(); in FreeAnnotations() 1379 DBRef.AddData ( ContainerChain ); in ConvertDBREF() 1430 DBRef .PDBASCIIDump ( f ); in PDBASCIIDump() 2125 DBRef .Copy ( &(chain->DBRef) ); in CopyAnnotations() 2143 DBRef .Copy ( &(chain->DBRef) ); in _copy() 2171 DBRef .Copy ( &(chain->DBRef) ); in _copy() [all …]
|