Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2971 - 2980 of 3,853 for qint (0.02 sec)

  1. guava/src/com/google/common/graph/EdgesConnecting.java

        E connectingEdge = getConnectingEdge();
        return (connectingEdge == null)
            ? ImmutableSet.<E>of().iterator()
            : Iterators.singletonIterator(connectingEdge);
      }
    
      @Override
      public int size() {
        return getConnectingEdge() == null ? 0 : 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object edge) {
        E connectingEdge = getConnectingEdge();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. docs_src/websockets/tutorial002_an_py310.py

        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    async def websocket_endpoint(
        *,
        websocket: WebSocket,
        item_id: str,
        q: int | None = None,
        cookie_or_token: Annotated[str, Depends(get_cookie_or_token)],
    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. docs_src/websockets/tutorial002_py310.py

        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    async def websocket_endpoint(
        websocket: WebSocket,
        item_id: str,
        q: int | None = None,
        cookie_or_token: str = Depends(get_cookie_or_token),
    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. internal/http/check_port_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer l.Close()
    
    	port := l.Addr().(*net.TCPAddr).Port
    
    	testCases := []struct {
    		host        string
    		port        int
    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    		{"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/cluster.go

    	}
    	dac := clusterDump.GetDynamicActiveClusters()
    	// Allow sorting to work even if we don't have the exact same type
    	for i := range dac {
    		dac[i].Cluster.TypeUrl = v3.ClusterType
    	}
    	sort.Slice(dac, func(i, j int) bool {
    		cluster := &cluster.Cluster{}
    		err = dac[i].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    			return false
    		}
    		name := cluster.Name
    		err = dac[j].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      @SuppressWarnings("unchecked")
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(
          E e1, E e2, E e3, E e4, E e5, E e6, E... remaining) {
        int size = remaining.length + 6;
        List<E> all = new ArrayList<E>(size);
        Collections.addAll(all, e1, e2, e3, e4, e5, e6);
        Collections.addAll(all, remaining);
        // This is messed up. See TODO at top of file.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. internal/kms/kms.go

    	// listings.
    	ContinueAt string
    
    	// Limit limits the number of elements returned by
    	// a single list operation. If <= 0, a reasonable
    	// limit is selected automatically.
    	Limit int
    }
    
    // CreateKeyRequest is a structure containing fields
    // and options for creating keys.
    type CreateKeyRequest struct {
    	// Name is the name of the key that gets created.
    	Name string
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    			continue
    		}
    		p++
    		if p < i {
    			data.Swap(p, i)
    		}
    	}
    	return p + 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen.go

    func (z *BatchJobPrefix) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0002 uint32
    	zb0002, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if cap((*z)) >= int(zb0002) {
    		(*z) = (*z)[:zb0002]
    	} else {
    		(*z) = make(BatchJobPrefix, zb0002)
    	}
    	for zb0001 := range *z {
    		(*z)[zb0001], err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/BoostDocTests.java

        }
    
        @Override
        protected String getItemEndpointSuffix() {
            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top