- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 400 for toSend (0.07 sec)
-
internal/grid/benchmark_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
internal/grid/connection.go
} } var err error toSend, err = pingFrame.MarshalMsg(GetByteBuffer()[:0]) if err != nil { gridLogIf(ctx, err) // Fake it... atomic.StoreInt64(&c.LastPong, time.Now().UnixNano()) continue } case toSend = <-c.outQueue: if len(toSend) == 0 { continue } } if len(queue) < maxMergeMessages && queueSize+len(toSend) < writeBufferSize-1024 && len(c.outQueue) > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
internal/grid/muxserver.go
} // sendResponses will send responses to the client. func (m *muxServer) sendResponses(ctx context.Context, toSend <-chan []byte, c *Connection, handlerErr *atomic.Pointer[RemoteErr], outBlock <-chan struct{}) { for { // Process outgoing message. var payload []byte var ok bool select { case payload, ok = <-toSend: case <-ctx.Done(): return } select { case <-ctx.Done(): return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile_test.go
auth, err := newWithContents(t, ` token1,user1,uid1 token2,user2,uid2 token3,user3,uid3,"group1,group2" token4,user4,uid4,"group2" token5,user5,uid5,group5 token6,user6,uid6,group5,otherdata token7,user7,uid7,"group1,group2",otherdata `) if err != nil { t.Fatalf("unable to read tokenfile: %v", err) } testCases := []struct { Token string User *user.DefaultInfo Ok bool Err bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
List<KuromojiItem> itemList = new ArrayList<>(); itemList.add(new KuromojiItem(1, "token1", "seg1", "reading1", "pos1")); itemList.add(new KuromojiItem(2, "token2", "seg2", "reading2", "pos2")); itemList.add(new KuromojiItem(3, "token3", "seg3", "reading3", "pos3")); kuromojiFile.kuromojiItemList = itemList; } public void test_selectList() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/bootstraptoken/node/token_test.go
ID: "token1", Secret: "token1data", }, }, }, wantErr: false, }, { name: "create multiple secrets which do not exist", failIfExists: true, tokens: []bootstraptokenv1.BootstrapToken{ { Token: &bootstraptokenv1.BootstrapTokenString{ ID: "token1", Secret: "token1data", }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 28 08:42:29 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultCancellationTokenSourceTest.groovy
def 'token operation idempotent'() { when: def token1 = source.token() def token2 = source.token() then: token1 == token2 } def 'can unpack token'() { expect: source.token().token != null } def 'can cancel'() { expect: !source.token().cancellationRequested when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
BootstrapToken: bootstraptokenv1.BootstrapToken{ Token: &bootstraptokenv1.BootstrapTokenString{ID: token.Token.ID, Secret: token.Token.Secret}, Description: token.Description, TTL: token.TTL, Expires: token.Expires, Usages: token.Usages, Groups: token.Groups, }, } if err := printer.PrintObj(&outputToken, out); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/tokens.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syntax type Token uint type token = Token //go:generate stringer -type token -linecomment tokens.go const ( _ token = iota _EOF // EOF // names and literals _Name // name _Literal // literal // operators and operations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 2.6K bytes - Viewed (0) -
tests/integration/security/authz_test.go
}, { prefix: "[Token2]", jwt: jwt.TokenIssuer2, path: "/token1", allow: false, }, { prefix: "[Token2]", jwt: jwt.TokenIssuer2, path: "/token2", allow: true, }, { prefix: "[Token3]", jwt: jwt.TokenIssuer1, path: "/token3", allow: false, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0)