Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 385 for trim (0.07 seconds)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Reset and verify
            messageBlock.reset();
            verify(messageBlock).reset();
        }
    
        @Test
        @DisplayName("Test encode and decode round trip")
        void testEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[512];
            int encodeIndex = 0;
            int decodeIndex = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. cmd/object-api-utils.go

    		if ok := wildcard.MatchSimple(pattern, matchStr); ok {
    			return true
    		}
    	}
    	return false
    }
    
    // Returns the part file name which matches the partNumber and etag.
    func getPartFile(entriesTrie *trie.Trie, partNumber int, etag string) (partFile string) {
    	for _, match := range entriesTrie.PrefixMatch(fmt.Sprintf("%.5d.%s.", partNumber, etag)) {
    		partFile = match
    		break
    	}
    	return partFile
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  3. docs/tr/docs/async.md

    Starlette (ve **FastAPI**) [AnyIO](https://anyio.readthedocs.io/en/stable/) üzerine kuruludur; bu sayede Python standart kütüphanesindeki [asyncio](https://docs.python.org/3/library/asyncio-task.html) ve [Trio](https://trio.readthedocs.io/en/stable/) ile uyumludur.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            """.trimMargin(),
          )
      }
    
      @Test
      fun curlPostWithComplexBody() {
        val jsonBody =
          """
          |{
          |  "user": {
          |    "id": 123,
          |    "name": "Tim O'Reilly"
          |  },
          |  "roles": ["admin", "editor"],
          |  "active": true
          |}
          |
          """.trimMargin()
    
        val body = jsonBody.toRequestBody("application/json".toMediaType())
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          )
    
        assertFailsWith<EOFException> {
          parts.nextPart()
        }
      }
    
      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody
            .Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. docs/uk/docs/async.md

    Starlette (і **FastAPI**) базуються на [AnyIO](https://anyio.readthedocs.io/en/stable/), що робить їх сумісними як зі стандартною бібліотекою Python [asyncio](https://docs.python.org/3/library/asyncio-task.html), так і з [Trio](https://trio.readthedocs.io/en/stable/).
    
    Зокрема, ви можете безпосередньо використовувати [AnyIO](https://anyio.readthedocs.io/en/stable/) для ваших просунутих сценаріїв рівночасності, що потребують складніших патернів у вашому коді.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 36.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SIDTest.java

            void testTextualConstructorNull() {
                assertThrows(NullPointerException.class, () -> new SID((String) null));
            }
    
            @Test
            @DisplayName("Binary constructor happy path and round-trip via toByteArray")
            void testBinaryConstructorAndToByteArray() {
                // Arrange: revision=1, count=2, identAuth zeros except last byte, subauth 10, 20
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. docs/fr/docs/async.md

    Starlette (et **FastAPI**) s’appuie sur [AnyIO](https://anyio.readthedocs.io/en/stable/), ce qui le rend compatible à la fois avec la bibliothèque standard [asyncio](https://docs.python.org/3/library/asyncio-task.html) de Python et avec [Trio](https://trio.readthedocs.io/en/stable/).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 27.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

          throw noMoreExchanges(e) as Throwable
        } finally {
          if (!calledNoMoreExchanges) {
            noMoreExchanges(null)
          }
        }
      }
    
      /**
       * Prepare for a potential trip through all of this call's network interceptors. This prepares to
       * find an exchange to carry the request.
       *
       * Note that an exchange will not be needed if the request is satisfied by the cache.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/first-steps.md

    /// info | `@decorator` Bilgisi
    
    Python'daki `@something` söz dizimi "decorator" olarak adlandırılır.
    
    Onu bir fonksiyonun üstüne koyarsınız. Güzel, dekoratif bir şapka gibi (sanırım terim de buradan geliyor).
    
    Bir "decorator", altındaki fonksiyonu alır ve onunla bir şey yapar.
    
    Bizim durumumuzda bu decorator, **FastAPI**'a altındaki fonksiyonun **path** `/` ile **operation** `get`'e karşılık geldiğini söyler.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
Back to Top