Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 219 for 42 (0.01 sec)

  1. src/arena/arena_test.go

    	tt.n = 1
    
    	ts := arena.MakeSlice[T1](a, 99, 100)
    	if len(ts) != 99 {
    		t.Errorf("Slice() len = %d, want 99", len(ts))
    	}
    	if cap(ts) != 100 {
    		t.Errorf("Slice() cap = %d, want 100", cap(ts))
    	}
    	ts[1].n = 42
    }
    
    func TestSmokeLarge(t *testing.T) {
    	a := arena.NewArena()
    	defer a.Free()
    	for i := 0; i < 10*64; i++ {
    		_ = arena.New[T2](a)
    	}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 742 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            rawtypeToWildcard(MinMaxPriorityQueue.maximumSize(42)).create();
        assertEquals(11, queue.capacity());
        assertEquals(42, queue.maximumSize);
        checkNatural(queue);
      }
    
      public void testCreation_comparator_maximumSize() {
        MinMaxPriorityQueue<Integer> queue =
            MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).maximumSize(42).create();
        assertEquals(11, queue.capacity());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

         */
        @Test
        void encodeWithSpiedBufferCallsEncMethod() throws NdrException {
            NdrShort ns = new NdrShort(42);
            NdrBuffer spy = spy(new NdrBuffer(new byte[10], 0));
            ns.encode(spy);
            // NdrShort passes its value (already masked to 0xFF) to enc_ndr_short
            verify(spy).enc_ndr_short(42);
        }
    
        /**
         * Verify that decode invokes NdrBuffer.dec_ndr_short.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. docs_src/path_operation_configuration/tutorial002_py310.py

    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 537 bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/avx512enc/avx512dq.s

    	VREDUCESS $42, X9, X24, K7, X3                     // 62d33d0757d92a
    	VREDUCESS $42, X15, X24, K7, X3                    // 62d33d0757df2a
    	VREDUCESS $42, X26, X24, K7, X3                    // 62933d0757da2a
    	VREDUCESS $42, X9, X13, K7, X26                    // 6243150f57d12a
    	VREDUCESS $42, X15, X13, K7, X26                   // 6243150f57d72a
    	VREDUCESS $42, X26, X13, K7, X26                   // 6203150f57d22a
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue May 22 14:57:15 UTC 2018
    - 194.8K bytes
    - Viewed (0)
  6. docs_src/path_operation_advanced_configuration/tutorial006_py39.py

    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    def magic_data_reader(raw_body: bytes):
        return {
            "size": len(raw_body),
            "content": {
                "name": "Maaaagic",
                "price": 42,
                "description": "Just kiddin', no magic here. ✨",
            },
        }
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                }
                assertArrayEquals(salt, Arrays.copyOfRange(buffer, 4 + (2 * algoCount), 4 + (2 * algoCount) + 2));
            }
        }
    
        @Nested
        @DisplayName("Decoding Tests")
        class DecodingTests {
    
            @Test
            @DisplayName("Should decode single hash algorithm with salt")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

                availField.setAccessible(true);
                availField.setInt(resp, 42);
                return resp;
            }).when(tree).send(any(TransPeekNamedPipe.class), any(TransPeekNamedPipeResponse.class), eq(RequestParam.NO_RETRY));
    
            int available = stream.available();
            assertEquals(42, available, "Should return available bytes reported by SMB1 peek");
    
            verify(fd, never()).markClosed();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. docs_src/path_operation_configuration/tutorial002_py39.py

    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 575 bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals(0xDEF0, testBlock.getMid());
            }
    
            @Test
            @DisplayName("Test sign sequence property")
            void testSignSeqProperty() {
                testBlock.setSignSeq(42);
                assertEquals(42, testBlock.getSignSeq());
            }
    
            @Test
            @DisplayName("Test override timeout property")
            void testOverrideTimeoutProperty() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top