Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for gather (0.35 sec)

  1. src/internal/diff/diff.go

    	// Using negative numbers now lets us distinguish positive line numbers later.
    	m := make(map[string]int)
    	for _, s := range x {
    		if c := m[s]; c > -2 {
    			m[s] = c - 1
    		}
    	}
    	for _, s := range y {
    		if c := m[s]; c > -8 {
    			m[s] = c - 4
    		}
    	}
    
    	// Now unique strings can be identified by m[s] = -1+-4.
    	//
    	// Gather the indexes of those strings in x and y, building:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    }
    
    // Matcher decides if a request is exempted by the NamespaceSelector of a
    // webhook configuration.
    type Matcher struct {
    	NamespaceLister corelisters.NamespaceLister
    	Client          clientset.Interface
    }
    
    func (m *Matcher) GetNamespace(name string) (*v1.Namespace, error) {
    	return m.NamespaceLister.Get(name)
    }
    
    // Validate checks if the Matcher has a NamespaceLister and Client.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Hasher.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. pkg/config/mesh/kubemesh/watcher.go

    	})
    
    	go c.Run(stop)
    
    	// Ensure the ConfigMap is initially loaded if present.
    	if !client.WaitForCacheSync("configmap watcher", stop, c.HasSynced) {
    		log.Error("failed to wait for cache sync")
    	}
    	return w
    }
    
    func AddUserMeshConfig(client kube.Client, watcher mesh.Watcher, namespace, key, userMeshConfig string, stop <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. cmd/hasher.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. pkg/test/framework/resource/matcher.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package resource
    
    import (
    	"regexp"
    	"strconv"
    	"strings"
    )
    
    // testFilter is a regex matcher on a test. It is split by / following go subtest format
    type testFilter []*regexp.Regexp
    
    type Matcher struct {
    	filters []testFilter
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Either.java

    /**
     * Represents values with two possibilities.
     *
     * @param <L> the left type.
     * @param <R> the right type.
     */
    public abstract class Either<L, R> {
    
        public static <L, R> Either<L, R> left(L value) {
            return new Left<>(value);
        }
    
        public static <L, R> Either<L, R> right(R value) {
            return new Right<>(value);
        }
    
        /**
         * Take the value if this is a left.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hasher.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/match/matcher.go

    func (m Matcher) GetMatches(i echo.Instances) echo.Instances {
    	out := make(echo.Instances, 0)
    	for _, i := range i {
    		if m(i) {
    			out = append(out, i)
    		}
    	}
    	return out
    }
    
    // GetServiceMatches returns the subset of echo.Services that match this Matcher.
    func (m Matcher) GetServiceMatches(services echo.Services) echo.Services {
    	out := make(echo.Services, 0)
    	for _, s := range services {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cel
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top