Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2291 - 2300 of 3,073 for patch (0.03 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

            return s;
        }
    
        @Nested
        @DisplayName("Basic Constructor and Utility Tests")
        class BasicTests {
    
            @Test
            @DisplayName("Textual constructor happy path and toString consistency")
            void testTextualConstructorAndToString() throws Exception {
                // Arrange
                SID sid = new SID("S-1-5-21-1-2-3-1029");
    
                // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    そして、**FastAPI** では、Pythonのクラスを依存関係として使用することができます。
    
    FastAPIが実際にチェックしているのは、それが「呼び出し可能」(関数、クラス、その他なんでも)であり、パラメータが定義されているかどうかということです。
    
    **FastAPI** の依存関係として「呼び出し可能なもの」を渡すと、その「呼び出し可能なもの」のパラメータを解析し、サブ依存関係も含めて、*path operation関数*のパラメータと同じように処理します。
    
    それは、パラメータが全くない呼び出し可能なものにも適用されます。パラメータのない*path operation関数*と同じように。
    
    そこで、上で紹介した依存関係の`common_parameters`を`CommonQueryParams`クラスに変更します:
    
    {* ../../docs_src/dependencies/tutorial002.py hl[11,12,13,14,15] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/metrics-router.go

    	// Metrics v3
    	metricsV3Server := newMetricsV3Server(auth)
    
    	// Register metrics v3 handler. It also accepts an optional query
    	// parameter `?list` - see handler for details.
    	metricsRouter.Methods(http.MethodGet).Path(metricsV3Path + "{pathComps:.*}").Handler(metricsV3Server)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        public void test_append_stringWithBackslash() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "path\\to\\file";
    
            monitorTarget.append(buf, "pathKey", supplier);
            assertEquals("\"pathKey\":\"path\\\\to\\\\file\"", buf.toString());
        }
    
        // Test append method with exception in supplier
        public void test_append_exceptionInSupplier() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    		bucket:    bucket,
    		strict:    false, // Allow less strict matching.
    	}
    
    	path := baseDirFromPrefix(prefix)
    	filterPrefix := strings.Trim(strings.TrimPrefix(prefix, path), slashSeparator)
    	if path == prefix {
    		filterPrefix = ""
    	}
    
    	lopts := listPathRawOptions{
    		disks:          disks,
    		bucket:         bucket,
    		path:           path,
    		filterPrefix:   filterPrefix,
    		recursive:      recursive,
    		forwardTo:      "",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type2Message.java

            byte[] domain = {};
            if (domainStr != null) {
                try {
                    domain = domainStr.getBytes(UNI_ENCODING);
                } catch (final IOException ex) {
                    log.debug("Failed to get domain bytes", ex);
                }
            }
            final int domainLength = domain.length;
            byte[] server = {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
            } catch (final Exception e) {
                logger.warn("Failed to request: {}", form.docId, e);
            }
            if (doc == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

                                createWebResourceSet(ResourceSetType.CLASSES_JAR, "/WEB-INF/classes", possibleJar.getURL(), "/");
                            }
                        }
                    } catch (final Exception e) {
                        logger.log(Level.WARNING, e, () -> {
                            final String canonicalPath = possibleJar.getCanonicalPath();
                            return "Failed to read " + canonicalPath;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
                    exceptionListener.accept(e);
                }
            }
        }
    
        class MockHttpURLConnection extends HttpURLConnection {
    
            MockHttpURLConnection(URL u) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          try {
            if (!canceled) {
              listener.onOpen(this, response)
              while (!canceled && reader.processNextEvent()) {
              }
            }
          } catch (e: Exception) {
            val exception =
              when {
                canceled -> IOException("canceled", e)
                else -> e
              }
            listener.onFailure(this, exception, response)
            return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top