This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fri Mar 4 18:12:53 Got signal: 11 (Segmentation fault). | |
Fri Mar 4 18:12:53 Backtrace: | |
0x824629 0x3d5be302d0 0x6e2041 0x72856a 0x72e288 0x622396 0x622b6c 0x705ba4 0x70adf2 0x82691b 0x83a4b0 0x3d5c60673d 0x3d5bed3f6d | |
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x824629] | |
/lib64/libc.so.6 [0x3d5be302d0] | |
/usr/bin/mongod(_ZN5mongo16NamespaceDetails5allocEPKciRNS_7DiskLocE+0x181) [0x6e2041] | |
/usr/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibRKNS_11BSONElementEb+0x4fa) [0x72856a] | |
/usr/bin/mongod(_ZN5mongo11DataFileMgr12updateRecordEPKcPNS_16NamespaceDetailsEPNS_25NamespaceDetailsTransientEPNS_6RecordERKNS_7DiskLocES2_iRNS_7OpDebugERbb+0x448) [0x72e288] | |
/usr/bin/mongod(_ZN5mongo14_updateObjectsEbPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugEPNS_11RemoveSaverE+0x3ac6) [0x622396] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fri Mar 4 18:29:52 Backtrace: | |
0x824629 0x3d5be302d0 0x721d5c 0x723678 0x729482 0x72e288 0x622396 0x622b6c 0x705ba4 0x70adf2 0x82691b 0x83a4b0 0x3d5c60673d 0x3d5bed3f6d | |
/usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x824629] | |
/lib64/libc.so.6 [0x3d5be302d0] | |
/usr/bin/mongod(_ZN5mongo6Extent4initEPKciii+0x2c) [0x721d5c] | |
/usr/bin/mongod(_ZN5mongo13MongoDataFile12createExtentEPKcibi+0xc8) [0x723678] | |
/usr/bin/mongod(_ZN5mongo11DataFileMgr6insertEPKcPKvibRKNS_11BSONElementEb+0x1412) [0x729482] | |
/usr/bin/mongod(_ZN5mongo11DataFileMgr12updateRecordEPKcPNS_16NamespaceDetailsEPNS_25NamespaceDetailsTransientEPNS_6RecordERKNS_7DiskLocES2_iRNS_7OpDebugERbb+0x448) [0x72e288] | |
/usr/bin/mongod(_ZN5mongo14_updateObjectsEbPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugEPNS_11RemoveSaverE+0x3ac6) [0x622396] | |
/usr/bin/mongod(_ZN5mongo13updateObjectsEPKcRKNS_7BSONObjES2_bbbRNS_7OpDebugE+0x11c) [0x622b6c] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testCheckWithNullValue() { | |
assertTrue(NEQ.check(null, "expected", "", false)); | |
assertTrue(EMPTY.check(null, null, null)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Foo interface { | |
GetFoo() string | |
} | |
type Bar struct { | |
Foo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 [main] ERROR com.convert.server.gdata.PushAnalytics - Failed to push analytics. | |
com.google.gdata.util.ServiceForbiddenException: Forbidden | |
It looks like someone else already deleted this cell. | |
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:593) | |
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563) | |
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:550) | |
at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530) | |
at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535) | |
at com.google.gdata.client.Service.insert(Service.java:1409) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
_id:"Some key", | |
deliveryDate: 1231312312312L, | |
engagementResults:[ | |
{id_:1, | |
deliveryDate: 1L | |
}, | |
{_id:2, | |
deliveryDate: 2L | |
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> db.Test.insert({something:123, engagementResults:[{d:1}, {d:2}]}); | |
> db.Test.find({d:1}) | |
> db.Test.find({"engagementResults.d":1}) | |
{ "_id" : ObjectId("4deecede6b5e82cdaf01663b"), "something" : 123, "engagementResults" : [ { "d" : 1 }, { "d" : 2 } ] } | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
type Foo interface { | |
FooBar(other Foo) | |
} | |
func Bar(f Foo) { | |
f.FooBar(f) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
play.go:20: cannot use &b (type *Baz) as type Foo in function argument: | |
*Baz does not implement Foo (wrong type for FooBar method) | |
have FooBar(other *Baz) | |
want FooBar(other Foo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class C { | |
protected var x = 0; | |
def incr: this.type = { x = x + 1; this } | |
} | |
class D extends C { | |
def decr: this.type = { x = x - 1; this } } | |
Then we can chain calls to the incr and decr method, as in val d = new D; d.incr.decr; |
OlderNewer