Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Qihoo360/poseidon
/ functions
Functions
2,300 in github.com/Qihoo360/poseidon
⨍
Functions
2,300
◇
Types & classes
330
↓ 12 callers
Method
getPath
<code>optional string path = 1;</code> <p> <pre> HDFS路径,例如:/the/path/to/log/business/2014-04-22/00/log1.zwt.2014-04-22-00-17.gz, 实际离线存储的时候会做一定的压缩,例如不存
builder/index/src/main/java/proto/PoseidonIf.java:25
↓ 12 callers
Method
internalGetMutableIndex
()
builder/index/src/main/java/proto/PoseidonIf.java:3468
↓ 11 callers
Function
CamelCaseSlice
CamelCaseSlice is like CamelCase, but the argument is a slice of strings to be joined with "_".
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:2643
↓ 11 callers
Method
DebugPrint
DebugPrint dumps the encoded data in b in a debugging format with a header including the string s. Used in testing but made available for general debu
builder/docformat/src/github.com/golang/protobuf/proto/lib.go:446
↓ 11 callers
Method
DecodeRawBytes
These are not ValueDecoders: they produce an array of bytes or a string. bytes, embedded messages DecodeRawBytes reads a count-delimited byte buffer f
builder/docformat/src/github.com/golang/protobuf/proto/decode.go:182
↓ 11 callers
Method
ExtensionMap
()
builder/docformat/src/github.com/golang/protobuf/jsonpb/jsonpb.go:499
↓ 11 callers
Method
PackageName
()
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:488
↓ 11 callers
Function
dial
dial wraps DialDefaultServer() with a more suitable function name for examples.
builder/docformat/src/github.com/garyburd/redigo/redis/reply_test.go:114
↓ 11 callers
Function
opaqueChunk
opaqueChunk returns an opaque b chunk (e.g. padding 0xfe) with length n (total length, n+4 bytes). practically useless but good enough for testing. t
builder/docformat/src/github.com/mreiferson/go-snappystream/reader_test.go:496
↓ 11 callers
Function
structPointer_field
field returns the given field in the struct as a reflect value.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_reflect.go:83
↓ 10 callers
Function
Bool
* * Helper routines for simplifying the creation of optional fields of basic type. */ Bool is a helper routine that allocates a new bool value to st
builder/docformat/src/github.com/golang/protobuf/proto/lib.go:352
↓ 10 callers
Method
Close
()
builder/docformat/src/github.com/bitly/go-nsq/producer.go:16
↓ 10 callers
Method
ConnectToNSQD
ConnectToNSQD takes a nsqd address to connect directly to. It is recommended to use ConnectToNSQLookupd so that topics are discovered automatically.
builder/docformat/src/github.com/bitly/go-nsq/consumer.go:507
↓ 10 callers
Method
Decode
(String encodedStr)
service/hdfsreader/src/main/java/Reader.java:59
↓ 10 callers
Method
Float64
Float64 coerces into a float64
builder/docformat/src/github.com/bitly/go-simplejson/simplejson_go10.go:26
↓ 10 callers
Method
IsValid
IsValid reports whether the field identifier is valid.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:84
↓ 10 callers
Method
Set
Set takes an option as a string and a value as an interface and attempts to set the appropriate configuration option. It attempts to coerce the value
builder/docformat/src/github.com/bitly/go-nsq/config.go:215
↓ 10 callers
Function
cannotConvert
(d reflect.Value, s interface{})
builder/docformat/src/github.com/garyburd/redigo/redis/scan.go:34
↓ 10 callers
Function
console
(s ...interface{})
builder/docformat/src/github.com/donnie4w/go-logger/logger/logger.go:108
↓ 10 callers
Function
consolef
(format string, s ...interface{})
builder/docformat/src/github.com/donnie4w/go-logger/logger/logger.go:123
↓ 10 callers
Method
getSection
Returns a section by name or <code>null</code> if not found. @param name the section's name @return the section
builder/index/src/main/java/util/IniParser.java:559
↓ 10 callers
Method
remove
Removes an option from a section if it exists. Will not remove options from the common section if it's not directly addressed. @param section the sec
builder/index/src/main/java/util/IniParser.java:299
↓ 10 callers
Function
structPointer_Word32Slice
Word32Slice returns the address of a []int32, []uint32, []float32, or []enum field in the struct.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:214
↓ 9 callers
Method
Append
(x uint32)
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:209
↓ 9 callers
Method
MarshalText
()
builder/docformat/src/github.com/golang/protobuf/proto/text_test.go:53
↓ 9 callers
Function
NewJson
NewJson returns a pointer to a new `Json` object after unmarshaling `body` bytes
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:20
↓ 9 callers
Function
NewProducer
NewProducer returns an instance of Producer for the specified address The only valid way to create a Config is via NewConfig, using a struct literal
builder/docformat/src/github.com/bitly/go-nsq/producer.go:70
↓ 9 callers
Function
UnmarshalText
UnmarshalText reads a protocol buffer in Text format. UnmarshalText resets pb before starting to unmarshal, so any existing data in pb is always remov
builder/docformat/src/github.com/golang/protobuf/proto/text_parser.go:787
↓ 9 callers
Method
ensureDocIdsIsMutable
()
builder/index/src/main/java/proto/PoseidonIf.java:1736
↓ 9 callers
Function
expectPushed
(t *testing.T, c redis.PubSubConn, message string, expected interface{})
builder/docformat/src/github.com/garyburd/redigo/redis/pubsub_test.go:105
↓ 9 callers
Method
hasSection
Checks whether a section with a particular name exists in this instance. @param name the name of the section @return true if the section exists
builder/index/src/main/java/util/IniParser.java:326
↓ 9 callers
Method
internalGetIndex
()
builder/index/src/main/java/proto/PoseidonIf.java:3459
↓ 9 callers
Method
read
(b []byte)
builder/docformat/src/github.com/mreiferson/go-snappystream/reader.go:139
↓ 9 callers
Method
readLine
Read one line from the InputStream into the given Text. @param str the object to store the given line (without newline) @param maxLineL
builder/index/src/main/java/InvertedIndex/NLineReader.java:159
↓ 9 callers
Method
shouldContinue
shouldContinue reports whether encoding should continue upon encountering the given error. If the error is RequiredNotSetError, shouldContinue returns
builder/docformat/src/github.com/golang/protobuf/proto/encode.go:1312
↓ 9 callers
Function
structPointer_Interface
Interface returns the struct pointer, assumed to have element type t, as an interface value.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:67
↓ 9 callers
Function
structPointer_ifield
ifield returns the given field in the struct as an interface value.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_reflect.go:98
↓ 8 callers
Function
BusinessTraitInstance
(business string)
service/searcher/poseidon/business_trait.go:28
↓ 8 callers
Method
MustBool
MustBool guarantees the return of a `bool` (with optional default) useful when you explicitly want a `bool` in a single value return context: myFunc(
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:383
↓ 8 callers
Method
MustStringArray
MustStringArray guarantees the return of a `[]string` (with optional default) useful when you want to interate over array values in a succinct manner
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:314
↓ 8 callers
Method
Name
Name identifies the plugin.
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:71
↓ 8 callers
Method
RecordTypeUse
(t string)
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:1629
↓ 8 callers
Method
SetLogger
SetLogger assigns the logger to use as well as a level The logger parameter is an interface that requires the following method to be implemented (suc
builder/docformat/src/github.com/bitly/go-nsq/producer.go:118
↓ 8 callers
Method
Stop
Stop will initiate a graceful stop of the Consumer (permanent) NOTE: receive on StopChan to block until this process completes
builder/docformat/src/github.com/bitly/go-nsq/consumer.go:1028
↓ 8 callers
Method
Stop
Stop initiates a graceful stop of the Producer (permanent) NOTE: this blocks until completion
builder/docformat/src/github.com/bitly/go-nsq/producer.go:141
↓ 8 callers
Function
benchWords
(b *testing.B, n int, decode bool)
builder/docformat/src/github.com/mreiferson/go-snappystream/snappy-go/snappy_test.go:126
↓ 8 callers
Method
buildPartial
()
builder/index/src/main/java/proto/PoseidonIf.java:1027
↓ 8 callers
Function
consumerTest
(t *testing.T, cb func(c *Config))
builder/docformat/src/github.com/bitly/go-nsq/consumer_test.go:145
↓ 8 callers
Method
getDescriptor
()
builder/index/src/main/java/proto/PoseidonIf.java:5333
↓ 8 callers
Function
initGoTestField
()
builder/docformat/src/github.com/golang/protobuf/proto/all_test.go:73
↓ 8 callers
Method
isInitialized
()
builder/index/src/main/java/proto/PoseidonIf.java:842
↓ 8 callers
Method
parsePartialFrom
( com.google.protobuf.CodedInputStream input, com.google.protobuf.Exte
builder/index/src/main/java/proto/PoseidonIf.java:1187
↓ 8 callers
Function
structPointer_Bytes
Bytes returns the address of a []byte field in the struct.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:89
↓ 8 callers
Method
typeName
Given a type name defined in a .proto, return its name as we will print it.
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/internal/grpc/grpc.go:92
↓ 7 callers
Method
Array
Array type asserts to an `array`
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:183
↓ 7 callers
Function
CamelCase
CamelCase returns the CamelCased name. If there is an interior underscore followed by a lower case letter, drop the underscore and convert the letter
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:2602
↓ 7 callers
Method
Error
Error reports a problem, including an error, and exits the program.
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:541
↓ 7 callers
Method
Error
()
builder/docformat/src/github.com/garyburd/redigo/redis/redis.go:20
↓ 7 callers
Method
Flush
()
builder/docformat/src/github.com/bitly/go-nsq/conn.go:273
↓ 7 callers
Method
GetIndex
GetIndex returns a pointer to a new `Json` object for `index` in its `array` representation this is the analog to Get when accessing elements of a js
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:147
↓ 7 callers
Method
GoType
GoType returns a string representing the type name, and the wire type
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:1572
↓ 7 callers
Method
Map
Map type asserts to `map`
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:175
↓ 7 callers
Method
MustMap
MustMap guarantees the return of a `map[string]interface{}` (with optional default) useful when you want to interate over map values in a succinct ma
builder/docformat/src/github.com/bitly/go-simplejson/simplejson.go:266
↓ 7 callers
Function
NewBufferedWriter
NewBufferedWriter allocates and returns a BufferedWriter with an internal buffer of MaxBlockSize bytes. If an error occurs writing a block to w, all
builder/docformat/src/github.com/mreiferson/go-snappystream/writer.go:38
↓ 7 callers
Function
NewMessage
NewMessage creates a Message, initializes some metadata, and returns a pointer
builder/docformat/src/github.com/bitly/go-nsq/message.go:36
↓ 7 callers
Method
PrintComments
PrintComments prints any comments from the source .proto file. The path is a comma-separated list of integers. It returns an indication of whether any
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:1246
↓ 7 callers
Method
Process
(String input)
builder/index/src/main/java/InvertedIndex/plugin/Function/Function.java:10
↓ 7 callers
Method
Set
Set sets a value with key where the key exists or not
service/meta/store/store.go:22
↓ 7 callers
Method
Write
(p []byte)
builder/docformat/src/github.com/mreiferson/go-snappystream/writer.go:137
↓ 7 callers
Method
fatal
(err error)
builder/docformat/src/github.com/garyburd/redigo/redis/conn.go:238
↓ 7 callers
Method
getLength
<code>optional uint32 length = 3;</code> <p> <pre> 数据长度 </pre>
builder/index/src/main/java/proto/PoseidonIf.java:53
↓ 7 callers
Method
getMaxInFlight
()
builder/docformat/src/github.com/bitly/go-nsq/consumer.go:276
↓ 7 callers
Method
internalGetIndex
()
builder/index/src/main/java/proto/PoseidonIf.java:3161
↓ 7 callers
Method
proto3
()
builder/docformat/src/github.com/golang/protobuf/protoc-gen-go/generator/generator.go:111
↓ 7 callers
Method
writeString
(s string)
builder/docformat/src/github.com/garyburd/redigo/redis/conn.go:274
↓ 6 callers
Method
AddFlat
AddFlat returns the result of appending the flattened value of v to args. Maps are flattened by appending the alternating keys and map values to args
builder/docformat/src/github.com/garyburd/redigo/redis/scan.go:501
↓ 6 callers
Method
AddHandler
AddHandler sets the Handler for messages received by this Consumer. This can be called multiple times to add additional handlers. Handler will have a
builder/docformat/src/github.com/bitly/go-nsq/consumer.go:1069
↓ 6 callers
Method
Close
Close flushes w's internal buffer and tears down internal data structures. After a successful call to Close method calls on w return an error. Close
builder/docformat/src/github.com/mreiferson/go-snappystream/writer.go:90
↓ 6 callers
Method
EncodeRawBytes
EncodeRawBytes writes a count-delimited byte buffer to the Buffer. This is the format used for the bytes protocol buffer type and for embedded message
builder/docformat/src/github.com/golang/protobuf/proto/encode.go:187
↓ 6 callers
Method
Get
Get gets a connection. The application must close the returned connection.
builder/docformat/src/github.com/garyburd/redigo/redisx/connmux.go:45
↓ 6 callers
Method
ReadFile
(String Path)
builder/index/src/main/java/InvertedIndex/plugin/Util.java:360
↓ 6 callers
Function
ReadUnpackedResponse
ReadUnpackedResponse reads and parses data from the underlying TCP connection according to the NSQ TCP protocol spec and returns the frameType, data o
builder/docformat/src/github.com/bitly/go-nsq/protocol.go:90
↓ 6 callers
Method
Uint64
Uint64 coerces into an uint64
builder/docformat/src/github.com/bitly/go-simplejson/simplejson_go10.go:65
↓ 6 callers
Function
Values
Values is a helper that converts an array command reply to a []interface{}. If err is not equal to nil, then Values returns nil, err. Otherwise, Value
builder/docformat/src/github.com/garyburd/redigo/redis/reply.go:231
↓ 6 callers
Method
WriteCommand
WriteCommand is a goroutine safe method to write a Command to this connection, and flush.
builder/docformat/src/github.com/bitly/go-nsq/conn.go:254
↓ 6 callers
Function
coerce
(v interface{}, typ reflect.Type)
builder/docformat/src/github.com/bitly/go-nsq/config.go:517
↓ 6 callers
Method
flush
(flushAll bool)
builder/docformat/src/job/logto_hdfs_collector.go:337
↓ 6 callers
Method
getDocIds
<code>repeated .proto.DocId docIds = 1;</code> <p> <pre> 该分词所关联的 Document ID。按照 docId 升序排列 为了方便 protobuf 的 varint 压缩存储,采用差分数据来存储 差分数据:后一个数据的存储值等于它的原始值
builder/index/src/main/java/proto/PoseidonIf.java:1250
↓ 6 callers
Method
getDocIdsFieldBuilder
()
builder/index/src/main/java/proto/PoseidonIf.java:2140
↓ 6 callers
Function
hex
(c uint8)
builder/docformat/src/github.com/golang/protobuf/proto/all_test.go:263
↓ 6 callers
Method
newBuilder
()
builder/index/src/main/java/proto/PoseidonIf.java:946
↓ 6 callers
Method
newBuilderForType
()
builder/index/src/main/java/proto/PoseidonIf.java:942
↓ 6 callers
Function
overify
(t *testing.T, pb *GoTest, expected string)
builder/docformat/src/github.com/golang/protobuf/proto/all_test.go:293
↓ 6 callers
Function
randBytes
randBytes reads size bytes from the computer's cryptographic random source. the resulting bytes have approximately maximal entropy and are effectively
builder/docformat/src/github.com/mreiferson/go-snappystream/readwrite_test.go:399
↓ 6 callers
Method
setDocId
<code>optional uint64 docId = 1;</code> <p> <pre> Document ID </pre>
builder/index/src/main/java/proto/PoseidonIf.java:1098
↓ 6 callers
Function
structPointer_BoolSlice
BoolSlice returns the address of a []bool field in the struct.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:109
↓ 6 callers
Function
structPointer_GetStructPointer
GetStructPointer reads a *struct field in the struct.
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:144
↓ 6 callers
Function
structPointer_Word64Slice
(p structPointer, f field)
builder/docformat/src/github.com/golang/protobuf/proto/pointer_unsafe.go:264
↓ 6 callers
Method
trySendCtrlInfo
不会阻塞但不保证能发送成功
builder/docformat/src/main/workshop.go:503
↓ 6 callers
Method
unmarshalType
unmarshalType does the work of unmarshaling a structure.
builder/docformat/src/github.com/golang/protobuf/proto/decode.go:366
← previous
next →
101–200 of 2,300, ranked by callers