Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6051 - 6060 of 7,132 for String (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        val expected =
          Buffer()
            .writeByte(0x40) // Literal header, new name.
            .writeByte(0x82) // String literal is Huffman encoded (len = 2).
            .writeByte(0x94) // 'foo' Huffman encoded.
            .writeByte(0xE7)
            .writeByte(3) // String literal not Huffman encoded (len = 3).
            .writeByte('b'.code)
            .writeByte('a'.code)
            .writeByte('r'.code)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

       * what was used to establish [chain].
       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val queue: Deque<Certificate> = ArrayDeque(chain)
        val result = mutableListOf<Certificate>()
        result.add(queue.removeFirst())
        var foundTrustedCertificate = false
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. internal/bucket/replication/rule_test.go

    package replication
    
    import (
    	"bytes"
    	"fmt"
    	"testing"
    )
    
    func TestMetadataReplicate(t *testing.T) {
    	testCases := []struct {
    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/response-directly.md

    Now, let's see how you could use that to return a custom response.
    
    Let's say that you want to return an [XML](https://en.wikipedia.org/wiki/XML) response.
    
    You could put your XML content in a string, put that in a `Response`, and return it:
    
    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    ## How a Response Model Works { #how-a-response-model-works }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

            this.mechs = mechs;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getNetbiosName()
         */
        @Override
        public String getNetbiosName() {
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSigningKey()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            SMBUtil.writeInt2(bytesPerSect, buffer, offset);
    
            // Decode
            smbInfoAllocation.decode(buffer, 0, buffer.length);
    
            // Test toString
            String result = smbInfoAllocation.toString();
    
            // Verify string contains expected values
            assertTrue(result.contains("SmbInfoAllocation"));
            assertTrue(result.contains("alloc=" + alloc));
            assertTrue(result.contains("free=" + free));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val call = client.newCall(request)
        val response1 = call.execute()
        val cloned = call.clone()
        val response2 = cloned.execute()
        assertThat("abc").isEqualTo(response1.body.string())
        assertThat("def").isEqualTo(response2.body.string())
      }
    
      @Test
      fun legalToExecuteTwiceCloning_Async() {
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(MockResponse(body = "def"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  8. scripts/contributors.py

    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    github_graphql_url = "https://api.github.com/graphql"
    
    
    prs_query = """
    query Q($after: String) {
      repository(name: "fastapi", owner: "fastapi") {
        pullRequests(first: 100, after: $after) {
          edges {
            cursor
            node {
              number
              labels(first: 100) {
                nodes {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return asMapOfRanges().hashCode();
        }
    
        @Override
        public String toString() {
          return asMapOfRanges().toString();
        }
    
        class SubRangeMapAsMap extends AbstractMap<Range<K>, V> {
    
          @Override
          public boolean containsKey(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                executor.submit(() -> {
                    try {
                        startLatch.await(); // Wait for all threads to be ready
    
                        for (int i = 0; i < opsPerThread; i++) {
                            String share = "share" + (threadId % 3); // Use 3 different shares
    
                            // Get or create tree
                            SmbTreeImpl tree = session.getSmbTree(share, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top