Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for itor (0.05 sec)

  1. guava/src/com/google/common/collect/Sets.java

          } else {
            return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection));
          }
        } else {
          Iterator<E> itr = elements.iterator();
          if (itr.hasNext()) {
            EnumSet<E> enumSet = EnumSet.of(itr.next());
            Iterators.addAll(enumSet, itr);
            return ImmutableEnumSet.asImmutable(enumSet);
          } else {
            return ImmutableSet.of();
          }
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. tests/query_test.go

    		t.Errorf("errors happened when query find: %v, length: %v", err, len(all))
    	} else {
    		for idx, user := range users {
    			t.Run("FindAll#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, all[idx], user)
    			})
    		}
    	}
    
    	t.Run("FirstMap", func(t *testing.T) {
    		first := map[string]interface{}{}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	default:
    		return nil, ErrNotMangledName
    	}
    
    	var ctor bool
    	switch name[1] {
    	case 'I':
    		ctor = true
    	case 'D':
    		ctor = false
    	default:
    		return nil, ErrNotMangledName
    	}
    
    	if name[2] != '_' {
    		return nil, ErrNotMangledName
    	}
    
    	if !strings.HasPrefix(name[3:], "_Z") {
    		return &GlobalCDtor{Ctor: ctor, Key: &Name{Name: name}}, nil
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  4. src/syscall/syscall_windows.go

    	n, err := formatMessage(flags, 0, uint32(e), langid(LANG_ENGLISH, SUBLANG_ENGLISH_US), b, nil)
    	if err != nil {
    		n, err = formatMessage(flags, 0, uint32(e), 0, b, nil)
    		if err != nil {
    			return "winapi error #" + itoa.Itoa(int(e))
    		}
    	}
    	// trim terminating \r and \n
    	for ; n > 0 && (b[n-1] == '\n' || b[n-1] == '\r'); n-- {
    	}
    	return UTF16ToString(b[:n])
    }
    
    const (
    	_ERROR_NOT_ENOUGH_MEMORY    = Errno(8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar_test.go

    		cfgs = append(cfgs, config.Config{
    			Meta: config.Meta{
    				GroupVersionKind: gvk.VirtualService,
    				Name:             "vs-name-" + strconv.Itoa(i),
    				Namespace:        "default",
    			},
    			Spec: &networking.VirtualService{
    				Hosts: []string{"host-" + strconv.Itoa(i) + ".com"},
    			},
    		})
    	}
    	ps := NewPushContext()
    	ps.virtualServiceIndex.publicByGateway[constants.IstioMeshGateway] = cfgs
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. src/cmd/dist/test.go

    		for i := 1; i <= 4; i *= 2 {
    			t.registerTest(fmt.Sprintf("GOMAXPROCS=2 runtime -cpu=%d -quick", i),
    				&goTest{
    					variant:   "cpu" + strconv.Itoa(i),
    					timeout:   300 * time.Second,
    					cpu:       strconv.Itoa(i),
    					short:     true,
    					testFlags: []string{"-quick"},
    					// We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. tests/integration/ambient/baseline_test.go

    				"Namespace":         apps.Namespace.Name(),
    				"PortAllow":         strconv.Itoa(ports.HTTP.ServicePort),
    				"PortAllowWorkload": strconv.Itoa(ports.HTTP.WorkloadPort),
    				"PortDeny":          strconv.Itoa(ports.HTTP2.ServicePort),
    				"PortDenyWorkload":  strconv.Itoa(ports.HTTP2.WorkloadPort),
    			}, `
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		{
    			name:            "RV+1",
    			resourceVersion: lastRV + 1,
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			opts := storage.ListOptions{
    				ResourceVersion: strconv.Itoa(int(tt.resourceVersion)),
    				Predicate:       storage.Everything,
    			}
    			watcher, err := cacher.Watch(context.Background(), "/pods/test-ns", opts)
    			if err != nil {
    				t.Fatalf("Failed to create watch: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  9. src/reflect/type.go

    	for i, field := range fields {
    		if field.Name == "" {
    			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has no name")
    		}
    		if !isValidFieldName(field.Name) {
    			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has invalid name")
    		}
    		if field.Type == nil {
    			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has no type")
    		}
    		f, fpkgpath := runtimeStructField(field)
    		ft := f.Typ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        if (!tensor_list_index.count(i)) {
          updated_types->push_back(std::get<0>(it));
          ++i;
          continue;
        }
        auto iter = tensor_list_map.find(i);
        if (iter != tensor_list_map.end()) {
          int arg_idx = iter->second;
          if (!resized_tensor_list_index.count(arg_idx)) {
            // If the mapped tensorlist argument's size isn't changed, we will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top