Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 556 for arg4 (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          if (method.name == "plus") continue
    
          val args =
            method.parameters
              .map { sampleValues[it.type] ?: error("no sample value for ${it.type}") }
              .toTypedArray()
    
          method.invoke(solo.eventListener, *args)
          method.invoke(composite, *args)
    
          val expectedEvent = solo.takeEvent()
          assertThat(solo.eventSequence).isEmpty()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals(checkedException, exception.getCause());
            });
    
            // Test with runtime exception
            RuntimeException runtimeException = new IllegalArgumentException("Illegal arg");
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(runtimeException);
                assertEquals(runtimeException, exception.getCause());
            });
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. tests/benchmarks/test_general_performance.py

    from collections.abc import Iterator
    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. tests/test_response_model_as_return_annotation.py

            @app.get("/")
            def read_root() -> Union[Response, None]:
                return Response(content="Foo")  # pragma: no cover
    
        assert "valid Pydantic field type" in e.value.args[0]
        assert "parameter response_model=None" in e.value.args[0]
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 47.7K bytes
    - Click Count (0)
  5. .teamcity/.mvn/wrapper/maven-wrapper.jar

    getHasArgument(); public abstract CommandLineParser$ParserState onComplete(); } org/apache/maven/wrapper/cli/CommandLineParser$OptionString.class package org.apache.maven.wrapper.cli; synchronized class CommandLineParser$OptionString { private final String arg; private final String option; private void CommandLineParser$OptionString(String, String); public String getDisplayName(); public String toString(); } org/apache/maven/wrapper/cli/CommandLineParser$OptionStringComparat.class package org.apache.maven.wrapper.cli;...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 49.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        @DisplayName("read(): returns -1 when underlying read reports EOF")
        void read_returnsMinusOne_onEOF() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Stub the 3-arg read to signal EOF
            doReturn(-1).when(raf).read(any(byte[].class), anyInt(), eq(1));
            assertEquals(-1, raf.read());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/asm.go

    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 21 15:13:08 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/path-params-numeric-validations.md

    Передайте `*` як перший параметр функції.
    
    Python нічого не зробить із цією `*`, але розпізнає, що всі наступні параметри слід викликати як аргументи за ключовим словом (пари ключ-значення), також відомі як <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Навіть якщо вони не мають значення за замовчуванням.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *}
    
    ### Краще з `Annotated`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 16:27:21 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    two:
    	RET
    TEXT ·a12(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JMP one
    two:
    	ORQ R15, R15
    	RET
    one:
    	MOVL $0, R15
    	JMP two
    
    // Ensure 3-arg instructions get GOT-rewritten without errors.
    // See issue 58735.
    TEXT ·a13(SB), 0, $0-0
    	MULXQ runtime·writeBarrier(SB), AX, CX
    	RET
    
    // Various special cases in the use-R15-after-global-access-when-dynlinking check.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 20 19:05:03 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            int n = spyTarget.recv(b, 2, 4);
            assertEquals(7, n);
            verify(in).readDirect(b, 2, 4);
        }
    
        @Test
        @DisplayName("send delegates to output.writeDirect with provided args")
        void testSendDelegation() throws Exception {
            SmbPipeHandleImpl spyTarget = spy(target);
            SmbPipeOutputStream out = mock(SmbPipeOutputStream.class);
            doReturn(out).when(spyTarget).getOutput();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top