- Sort Score
- Num 10 results
- Language All
Results 1341 - 1350 of 2,061 for mirror (0.04 seconds)
-
cmd/os-dirent_namelen_bsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "syscall" func direntNamlen(dirent *syscall.Dirent) (uint64, error) { return uint64(dirent.Namlen), nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 982 bytes - Click Count (0) -
internal/disk/disk_windows.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 951 bytes - Click Count (0) -
cmd/xl-storage-format_test.go
} } testCasesFailure := []struct { totalSize int64 partSize int64 partIndex int err error }{ // partSize is 0, returns error. {10, 0, 1, errPartSizeZero}, // partIndex is 0, returns error. {10, 1, 0, errPartSizeIndex}, // Total size is -1, returns error. {-2, 10, 1, errInvalidArgument}, } for i, testCaseFailure := range testCasesFailure {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/WebApiResponse.java
* Gets a PrintWriter for writing response content. * Returns a dummy PrintWriter that writes to a ByteArrayOutputStream. * * @return A PrintWriter for response output * @throws IOException If an I/O error occurs */ @Override public PrintWriter getWriter() throws IOException { // dummy stream return new PrintWriter(new ByteArrayOutputStream()); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
internal/bucket/lifecycle/noncurrentversion_test.go
package lifecycle import "testing" func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) { testcases := []struct { n NoncurrentVersionExpiration err error }{ { n: NoncurrentVersionExpiration{ NoncurrentDays: 0, NewerNoncurrentVersions: 0, set: true, }, err: errXMLNotWellFormed, }, {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Dec 14 17:41:44 GMT 2021 - 2.1K bytes - Click Count (0) -
internal/config/compress/compress_test.go
} for _, testCase := range testCases { t.Run(testCase.str, func(t *testing.T) { gotPatterns, err := parseCompressIncludes(testCase.str) if !testCase.success && err == nil { t.Error("expected failure but success instead") } if testCase.success && err != nil { t.Errorf("expected success but failed instead %s", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
et.disconnect(false, false); } catch (final Exception e) { log.error("Failed to close exclusive transport", e); } } } } else if (usage < 0) { log.error("Usage count dropped below zero " + this); throw new RuntimeCIFSException("Usage count dropped below zero"); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
null, null); IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token)); assertTrue(ex.getMessage().contains("OID"), "Error should mention OID"); } @Test @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)") void testParseAcceptsNonZeroOuterTag() throws Exception {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
internal/config/heal/heal.go
Key: IOCount, Value: "100", }, config.KV{ Key: DriveWorkers, Value: "", }, } const minimumBitrotCycleInMonths = 1 func parseBitrotConfig(s string) (time.Duration, error) { // Try to parse as a boolean enabled, err := config.ParseBool(s) if err == nil { switch enabled { case true: return 0, nil case false: return -1, nil } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
docs/en/docs/reference/exceptions.md
When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client. You can use: * `HTTPException` * `WebSocketException` These exceptions can be imported directly from `fastapi`: ```python from fastapi import HTTPException, WebSocketException ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 597 bytes - Click Count (0)