- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 135 for mimetype (0.61 sec)
-
docs/en/docs/python-types.md
* 🚨 Avoid using `Optional[SomeType]` * Instead ✨ **use `Union[SomeType, None]`** ✨. Both are equivalent and underneath they are the same, but I would recommend `Union` instead of `Optional` because the word "**optional**" would seem to imply that the value is optional, and it actually means "it can be `None`", even if it's not optional and is still required. I think `Union[SomeType, None]` is more explicit about what it means.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
# vim: filetype=bash # # Copyright 2022 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS,
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
docs/bn/docs/python-types.md
* 🚨 `Optional[SomeType]` ব্যবহার এড়িয়ে চলুন। * এর পরিবর্তে ✨ **`Union[SomeType, None]` ব্যবহার করুন** ✨। উভয়ই সমতুল্য এবং মূলে একই, কিন্তু আমি `Union`-এর পক্ষে সুপারিশ করব কারণ "**অপশনাল**" শব্দটি মনে হতে পারে যে মানটি ঐচ্ছিক,অথচ এটি আসলে মানে "এটি হতে পারে `None`", এমনকি যদি এটি ঐচ্ছিক না হয়েও আবশ্যিক হয়। আমি মনে করি `Union[SomeType, None]` এর অর্থ আরও স্পষ্টভাবে প্রকাশ করে।
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 35.6K bytes - Viewed (0) -
docs/vi/docs/python-types.md
* 🚨 Tránh sử dụng `Optional[SomeType]` * Thay vào đó ✨ **sử dụng `Union[SomeType, None]`** ✨. Cả hai là tương đương và bên dưới chúng giống nhau, nhưng tôi sẽ đễ xuất `Union` thay cho `Optional` vì từ "**tùy chọn**" có vẻ ngầm định giá trị là tùy chọn, và nó thực sự có nghĩa rằng "nó có thể là `None`", do đó nó không phải là tùy chọn và nó vẫn được yêu cầu. Tôi nghĩ `Union[SomeType, None]` là rõ ràng hơn về ý nghĩa của nó.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
@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); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
cmd/object-api-utils.go
// Filter compression includes. if len(cfg.Extensions) == 0 && len(cfg.MimeTypes) == 0 { // Nothing to filter, include everything. return false } if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) { // Matched an extension to compress, do not exclude. return false } if len(cfg.MimeTypes) > 0 && hasPattern(cfg.MimeTypes, contentType) { // Matched an MIME type to compress, do not exclude.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
stream(conditions.get(SearchRequestParams.AS_FILETYPE)) .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength) .forEach(q -> queryBuf.append(" filetype:\"").append(q.trim()).append('"'))); stream(conditions.get(SearchRequestParams.AS_SITESEARCH)) .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0) -
api/except.txt
pkg os, const ModeSetuid FileMode pkg os, const ModeSocket FileMode pkg os, const ModeSticky FileMode pkg os, const ModeSymlink FileMode pkg os, const ModeTemporary FileMode pkg os, const ModeType = 2399141888 pkg os, const ModeType = 2399666176 pkg os, const ModeType FileMode pkg os, func Chmod(string, FileMode) error pkg os, func Lstat(string) (FileInfo, error) pkg os, func Mkdir(string, FileMode) error pkg os, func MkdirAll(string, FileMode) error
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Jun 16 23:08:08 UTC 2024 - 34.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
if (file.type != SmbFile.TYPE_NAMED_PIPE) { return 0; } try { pipe = (SmbNamedPipe) file; file.open(SmbFile.O_EXCL, pipe.pipeType & 0xFF0000, SmbFile.ATTR_NORMAL, 0); req = new TransPeekNamedPipe(file.unc, file.fid); resp = new TransPeekNamedPipeResponse(pipe); pipe.send(req, resp);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
migrator/migrator.go
if stmt.Schema != nil { if field := stmt.Schema.LookUpField(field); field != nil { fileType := m.FullDataTypeOf(field) return m.DB.Exec( "ALTER TABLE ? ALTER COLUMN ? TYPE ?", m.CurrentTable(stmt), clause.Column{Name: field.DBName}, fileType, ).Error } } return fmt.Errorf("failed to look up field with name: %s", field) }) }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jun 06 02:35:01 UTC 2025 - 29.5K bytes - Viewed (0)