Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 589 for Decoder (0.17 sec)

  1. docs/recipes.md

    ### Parse a JSON Response With Moshi ([.kt][ParseResponseWithMoshiKotlin], [.java][ParseResponseWithMoshiJava])
    
    [Moshi](https://github.com/square/moshi) is a handy API for converting between JSON and Java objects. Here we're using it to decode a JSON response from a GitHub API.
    
    Note that `ResponseBody.charStream()` uses the `Content-Type` response header to select which charset to use when decoding the response body. It defaults to `UTF-8` if no charset is specified.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    		dec := json.NewDecoder(bytes.NewReader(out))
    		for {
    			var pkg struct {
    				ImportPath, Dir string
    				ImportMap       map[string]string
    				Standard        bool
    			}
    			err := dec.Decode(&pkg)
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				log.Fatalf("go list: invalid output: %v", err)
    			}
    
    			// - Package "unsafe" contains special signatures requiring
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/main/resources/fess_config.properties

    query.highlight.tag.pre=<strong>
    query.highlight.tag.post=</strong>
    query.highlight.boundary.chars=u0009u000Au0013u0020
    query.highlight.boundary.max.scan=20
    query.highlight.boundary.scanner=chars
    query.highlight.encoder=default
    query.highlight.force.source=false
    query.highlight.fragmenter=span
    query.highlight.fragment.offset=-1
    query.highlight.no.match.size=0
    query.highlight.order=score
    query.highlight.phrase.limit=256
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.32.md

    - Added kubelet support for systemd watchdog integration. With this enabled, systemd can automatically recover a hung kubelet. ([#127566](https://github.com/kubernetes/kubernetes/pull/127566), [@zhifei92](https://github.com/zhifei92)) [SIG Cloud Provider, Node and Testing]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  5. api/go1.2.txt

    pkg encoding/xml, method (*Encoder) EncodeElement(interface{}, StartElement) error
    pkg encoding/xml, method (*Encoder) EncodeToken(Token) error
    pkg encoding/xml, method (*Encoder) Flush() error
    pkg encoding/xml, method (StartElement) End() EndElement
    pkg encoding/xml, type Marshaler interface { MarshalXML }
    pkg encoding/xml, type Marshaler interface, MarshalXML(*Encoder, StartElement) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    				set:                     true,
    			},
    		},
    	}
    	for i, tc := range testCases {
    		var got NoncurrentVersionExpiration
    		dec := xml.NewDecoder(strings.NewReader(tc.xml))
    		if err := dec.Decode(&got); err != nil || got != tc.expected {
    			if err != nil {
    				t.Fatalf("%d: Failed to unmarshal xml %v", i+1, err)
    			}
    			t.Fatalf("%d: Expected %v but got %v", i+1, tc.expected, got)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    		return
    	}
    
    	var rulesMap event.RulesMap
    	if r.ContentLength < 0 {
    		s.writeErrorResponse(w, errInvalidArgument)
    		return
    	}
    
    	err := gob.NewDecoder(r.Body).Decode(&rulesMap)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	globalEventNotifier.AddRulesMap(bucketName, rulesMap)
    }
    
    // HealthHandler - returns true of health
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * Add docs:
        * How to use the `jsonable_encoder` in [JSON compatible encoder](https://fastapi.tiangolo.com/tutorial/encoder/).
        * How to [Return a Response directly](https://fastapi.tiangolo.com/advanced/response-directly/).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VGATHERQPD (DX)(Z23*1),K1,Z15 // 6272fd41933c3a
    	// EVEX: VCVTPD2DQ with Y suffix (VL=2).
    	VCVTPD2DQY (BX), X20  // 62e1ff28e623
    	VCVTPD2DQY (R11), X30 // 6241ff28e633
    	// XED encoder uses EVEX.X=0 for these; most x86 tools use EVEX.X=1.
    	// Either way is OK.
    	VMOVQ SP, X20  // 62e1fd086ee4 or 62a1fd086ee4
    	VMOVQ BP, X20  // 62e1fd086ee5 or 62a1fd086ee5
    	VMOVQ R14, X20 // 62c1fd086ee6 or 6281fd086ee6
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 57.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://a$dotA126/").toString())
          .isEqualTo("http://a$dotA126/")
        assertInvalid("http://aa$dotA126/", "Invalid URL host: \"aa$dotA126\"")
      }
    
      /**
       * UTS 46 Validity Criteria: Decoded punycode must be NFC.
       *
       * https://www.unicode.org/reports/tr46/#Validity_Criteria
       */
      @Test
      fun hostnameInPunycodeNfcAndNfd() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
Back to top