Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4331 - 4340 of 4,402 for Spring (0.05 sec)

  1. cmd/admin-handlers-site-replication.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    func parseJSONBody(ctx context.Context, body io.Reader, v any, encryptionKey string) error {
    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    その後の`open("./somefile.txt")`は「コンテキストマネージャ」と呼ばれるオブジェクトを作成します。
    
    `with`ブロックが終了すると、例外があったとしてもファイルを確かに閉じます。
    
    `yield`を依存関係を作成すると、**FastAPI** は内部的にそれをコンテキストマネージャに変換し、他の関連ツールと組み合わせます。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(2048, SMBUtil.readInt4(buffer, 104));
                assertEquals(4096L, SMBUtil.readInt8(buffer, 108));
            }
    
            @Test
            @DisplayName("Should handle null file ID during write")
            void testWriteWithNullFileId() {
                request.setFileId(null);
                request.setReadLength(1024);
    
                byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

        return Multisets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
      }
    
      /**
       * @since 21.0 (present with return type {@code Set} since 2.0)
       */
      @Override
      public abstract ImmutableSet<E> elementSet();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.6.md

    ## Changelog since v1.6.3
    
    ### Other notable changes
    
    * Fix kubelet panic during disk eviction introduced in 1.6.3. ([#46049](https://github.com/kubernetes/kubernetes/pull/46049), [@enisoc](https://github.com/enisoc))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        void testToString() {
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, mockAndxCommand);
    
            String result = testBlock.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("andxCommand=0x42"));
            assertTrue(result.contains("andxOffset="));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServicePacketTest.java

            Name dummyName = new Name(mockConfig, "DUMMY_NAME", 0, null);
            packet.addrEntry = new NbtAddress[] { new NbtAddress(dummyName, 0, false, NbtAddress.B_NODE) };
    
            String expectedString =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        private SmbSessionImpl session;
    
        @BeforeEach
        void setUp() {
            lenient().when(tree.getConfig()).thenReturn(config);
        }
    
        private SmbPipeHandleImpl newHandleWithBasicStubs(int pipeType, String unc) {
            when(pipe.getPipeType()).thenReturn(pipeType);
            when(pipe.getUncPath()).thenReturn(unc);
            return new SmbPipeHandleImpl(pipe);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. docs/es/docs/python-types.md

    Porque el editor conoce los tipos de las variables, no solo obtienes autocompletado, también obtienes chequeo de errores:
    
    <img src="/img/python-types/image04.png">
    
    Ahora sabes que debes corregirlo, convertir `age` a un string con `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    ## Declaración de tipos
    
    Acabas de ver el lugar principal para declarar anotaciones de tipos. Como parámetros de función.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
Back to top