- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,667 for byte1 (0.02 sec)
-
docs_src/request_forms_and_files/tutorial001_an.py
from fastapi import FastAPI, File, Form, UploadFile from typing_extensions import Annotated app = FastAPI() @app.post("/files/") async def create_file( file: Annotated[bytes, File()], fileb: Annotated[UploadFile, File()], token: Annotated[str, Form()], ): return { "file_size": len(file), "token": token, "fileb_content_type": fileb.content_type,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 396 bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package pilot import ( "bytes" "encoding/json" "os" "testing" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
} } companion object { /** Arbitrary code point that's 2 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_2 = 0x1a5 /** Arbitrary code point that's 3 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_3 = 0x2202 /** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_4 = 0x1d11e
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
} int writeTrailerWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; dstIndex += calledName.writeWireFormat( dst, dstIndex ); dstIndex += callingName.writeWireFormat( dst, dstIndex ); return dstIndex - start; } int readTrailerWireFormat( InputStream in, byte[] buffer, int bufferIndex )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2.1K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
* */ public interface Source { /** * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller. * * @return A byte stream to the source contents, never {@code null}. * @throws IOException in case of IO issue */ InputStream getInputStream() throws IOException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java
* @see org.codelibs.fess.crawler.entity.AccessResultData#getData() */ @Override public byte[] getData() { return data; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.AccessResultData#setData(java.lang.String) */ @Override public void setData(final byte[] data) { this.data = data; } @Override public String getEncoding() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
Netns: "/var/netns/foo", PodName: "pod-bingo", PodNamespace: "funkyns", } payload, _ := json.Marshal(valid) invalid := string(payload) + "funkyjunk" _, err := processAddEvent([]byte(invalid)) assert.Error(t, err) } func TestCNIPluginServer(t *testing.T) { fakePodIP := "11.1.1.12" _, addr, _ := net.ParseCIDR(fakePodIP + "/32") valid := CNIPluginAddEvent{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
} @Override int writeTrailerWireFormat ( byte[] dst, int dstIndex ) { int start = dstIndex; dstIndex += this.calledName.writeWireFormat(dst, dstIndex); dstIndex += this.callingName.writeWireFormat(dst, dstIndex); return dstIndex - start; } @Override int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
internal/config/lambda/event/targetid.go
return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err } targetID, err := parseTargetID(s) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.8K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
} var value interface{} switch val := v.(type) { case []byte: // TODO: only strings are supported in s3select output (not // binary arrays) - perhaps we need to check the annotation to // ensure it's UTF8 encoded. value = string(val) case [12]byte: // TODO: This is returned for the parquet INT96 type. We just // treat it same as []byte (but AWS S3 treats it as a large int) // - fix this later.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 4.5K bytes - Viewed (0)