Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 3,731 for qint (0.05 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(enumer.hasMoreElements());
        assertEquals(1, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/text/template/66107.md

    Templates now support range-over-func and range-over-int....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Sep 26 20:17:24 UTC 2024
    - 58 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      }
    
      enum TriState {
        FALSE,
        MAYBE,
        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
        Foo(String aString, int anInt, @Nullable TriState anEnum) {
          this.aString = aString;
          this.anInt = anInt;
          this.anEnum = anEnum;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractBaseGraph.java

              }
            };
        return nodeInvalidatableSet(incident, node);
      }
    
      @Override
      public int degree(N node) {
        if (isDirected()) {
          return IntMath.saturatedAdd(predecessors(node).size(), successors(node).size());
        } else {
          Set<N> neighbors = adjacentNodes(node);
          int selfLoopCount = (allowsSelfLoops() && neighbors.contains(node)) ? 1 : 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbNamedPipe.java

    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFile#getType()
         */
        @Override
        public int getType () throws SmbException {
            return TYPE_NAMED_PIPE;
        }
    
    
        /**
         * @return the pipe type
         */
        @Override
        public int getPipeType () {
            return this.pipeType;
        }
    
    
        /**
         * @return a handle for interacting with the pipe
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  7. tests/test_http_connection_injection.py

        return conn.app.state.value
    
    
    @app.get("/http")
    async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)):
        return value
    
    
    @app.websocket("/ws")
    async def get_value_by_ws(
        websocket: WebSocket, value: int = Depends(extract_value_from_http_connection)
    ):
        await websocket.accept()
        await websocket.send_json(value)
        await websocket.close()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 13:56:41 UTC 2020
    - 972 bytes
    - Viewed (0)
  8. src/cmd/api/testdata/src/pkg/p4/p4.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 552 bytes
    - Viewed (0)
  9. docs_src/query_params/tutorial006b.py

    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_user_item(
        item_id: str, needy: str, skip: int = 0, limit: Union[int, None] = None
    ):
        item = {"item_id": item_id, "needy": needy, "skip": skip, "limit": limit}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 301 bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

                        log.warn("Failed to retrieve DC list from WINS");
                    }
                }
    
                int max = Math.min(this.dcList.length, this.netbiosLookupRespLimit);
                for ( int j = 0; j < max; j++ ) {
                    int i = dcListCounter++ % max;
                    if ( this.dcList[ i ] != null ) {
                        try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
Back to top