Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for addMove (0.13 sec)

  1. pkg/controller/ttl/ttl_controller.go

    		),
    	}
    	logger := klog.FromContext(ctx)
    	nodeInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    			ttlc.addNode(logger, obj)
    		},
    		UpdateFunc: func(old, newObj interface{}) {
    			ttlc.updateNode(logger, old, newObj)
    		},
    		DeleteFunc: ttlc.deleteNode,
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/crypto/internal/hpke/hpke.go

    	// Message limit is, according to the RFC, 2^95+1, which
    	// is somewhat confusing, but we do as we're told.
    	if s.seqNum.bitLen() >= (s.aead.NonceSize()*8)-1 {
    		panic("message limit reached")
    	}
    	s.seqNum = s.seqNum.addOne()
    	return nonce
    }
    
    func (s *Sender) Seal(aad, plaintext []byte) ([]byte, error) {
    
    	ciphertext := s.aead.Seal(nil, s.nextNonce(), plaintext, aad)
    	return ciphertext, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

                .returns(Object.class)
                .addParameter(INVOCATION_CLASS, "invocation")
                .addParameter(String.class, "consumer")
                .addException(Throwable.class)
                .addCode(generateCodeFromInterceptorSignatureTree(signatureTree))
                .build();
    
            ParameterizedTypeName classWildcard = ParameterizedTypeName.get(ClassName.get(Class.class), WildcardTypeName.subtypeOf(Object.class));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. pkg/log/uds.go

    		minimumLevel: u.minimumLevel,
    	}
    }
    
    // Check implements zapcore.Core.
    func (u *udsCore) Check(e zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry {
    	if u.Enabled(e.Level) {
    		return ce.AddCore(e, u)
    	}
    	return ce
    }
    
    // Sync implements zapcore.Core. It sends log messages with HTTP POST.
    func (u *udsCore) Sync() error {
    	logs := u.logsFromBuffer()
    	msg, err := json.Marshal(logs)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 00:20:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    // contains attach/detach controller specific state.
    type DesiredStateOfWorld interface {
    	// AddNode adds the given node to the list of nodes managed by the attach/
    	// detach controller.
    	// If the node already exists this is a no-op.
    	AddNode(nodeName k8stypes.NodeName)
    
    	// AddPod adds the given pod to the list of pods that reference the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy

            filesByRelativePath.put(relativePath, content)
        }
    
        protected void addDir(String relativePath) {
            dirs.add(relativePath)
        }
    
        protected void addMode(String relativePath, int mode) {
            fileModesByRelativePath.put(relativePath, mode & 0777)
        }
    
        def assertFileMode(String relativePath, int fileMode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandlerTest.groovy

            }
    
            def node = new NodeState(id++, cs, resolveState, state, true) {
                @Override
                boolean isSelected() {
                    return true
                }
            }
            cs.addNode(node)
            return node
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/net/netip/inlining_test.go

    		"Prefix.Addr",
    		"Prefix.Bits",
    		"AddrFrom4",
    		"IPv6LinkLocalAllNodes",
    		"IPv6Unspecified",
    		"MustParseAddr",
    		"MustParseAddrPort",
    		"MustParsePrefix",
    		"appendDecimal",
    		"appendHex",
    		"uint128.addOne",
    		"uint128.and",
    		"uint128.bitsClearedFrom",
    		"uint128.bitsSetFrom",
    		"uint128.isZero",
    		"uint128.not",
    		"uint128.or",
    		"uint128.subOne",
    		"uint128.xor",
    	}
    	switch runtime.GOARCH {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/net/netip/uint128_test.go

    		{uint128{1, 0}, sub1, uint128{0, ^uint64(0)}},
    		{uint128{1, 1}, sub1, uint128{1, 0}},
    	}
    	for _, tt := range tests {
    		var got uint128
    		switch tt.op {
    		case add1:
    			got = tt.in.addOne()
    		case sub1:
    			got = tt.in.subOne()
    		default:
    			panic("bogus op")
    		}
    		if got != tt.want {
    			t.Errorf("%v add %d = %v; want %v", tt.in, tt.op, got, tt.want)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 01:28:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. src/internal/dag/parse.go

    	Nodes   []string
    	byLabel map[string]int
    	edges   map[string]map[string]bool
    }
    
    func newGraph() *Graph {
    	return &Graph{byLabel: map[string]int{}, edges: map[string]map[string]bool{}}
    }
    
    func (g *Graph) addNode(label string) bool {
    	if _, ok := g.byLabel[label]; ok {
    		return false
    	}
    	g.byLabel[label] = len(g.Nodes)
    	g.Nodes = append(g.Nodes, label)
    	g.edges[label] = map[string]bool{}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top