Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 670 for custom (1.02 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        socketAdapters
          .find { it.matchesSocket(sslSocket) }
          ?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        // No TLS extensions if the socket class is custom.
        socketAdapters.find { it.matchesSocket(sslSocket) }?.getSelectedProtocol(sslSocket)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     * <pre>
     * public class CustomModelTransformer implements ModelTransformer {
     *     public Model transformEffectiveModel(Model model) throws ModelTransformerException {
     *         // Add a custom property to all models
     *         model.getProperties().put("custom.timestamp", System.currentTimeMillis());
     *         return model;
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            assertDoesNotThrow(() -> request.setFileId(alternating), "Should handle alternating pattern file ID");
        }
    
        @Test
        @DisplayName("Should create custom implementation of RequestWithFileId")
        void testCustomImplementation() {
            // Given - custom implementation
            class CustomRequestWithFileId implements RequestWithFileId {
                private byte[] fileId;
                private int setCount = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/HandlerTest.java

            }, "Setting the factory a second time should throw IllegalStateException.");
        }
    
        @Test
        void testOpenConnection_WithCustomFactory() throws Exception {
            // This test verifies that if a custom URLStreamHandlerFactory is set, it is used
            // to create the stream handler for the connection.
            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess_config.data_config.json

    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 484 bytes
    - Viewed (0)
  6. cmd/data-scanner-metric.go

    	// Must be last:
    	scannerMetricLast
    )
    
    // log scanner action.
    // Use for s > scannerMetricStartTrace
    func (p *scannerMetrics) log(s scannerMetric, paths ...string) func(custom map[string]string) {
    	startTime := time.Now()
    	return func(custom map[string]string) {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].add(duration)
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 01 06:06:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

     * It converts Unicode domain names to ASCII Compatible Encoding (ACE) using the
     * {@link java.net.IDN} class.
     *
     * <p>This class allows setting a custom flag for the IDN conversion and a custom
     * encoding for URL decoding.</p>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * IdnDnsResolver resolver = new IdnDnsResolver();
     * resolver.setFlag(IDN.ALLOW_UNASSIGNED);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          try {
            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. docs_src/bigger_applications/app_an_py39/routers/items.py

            raise HTTPException(status_code=404, detail="Item not found")
        return {"name": fake_items_db[item_id]["name"], "item_id": item_id}
    
    
    @router.put(
        "/{item_id}",
        tags=["custom"],
        responses={403: {"description": "Operation forbidden"}},
    )
    async def update_item(item_id: str):
        if item_id != "plumbus":
            raise HTTPException(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1011 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
            Striped.lock(100),
            Striped.lock(256),
            Striped.custom(100, FAIR_LOCK_SUPPLER),
            Striped.custom(256, FAIR_LOCK_SUPPLER),
            Striped.semaphore(100, 1),
            Striped.semaphore(256, 1));
      }
    
      private static final Supplier<ReadWriteLock> READ_WRITE_LOCK_SUPPLIER =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top