Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 635 for wrapped (0.04 seconds)

  1. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      /**
       * Converts the given {@code ListenableFuture} to an equivalent {@code FluentFuture}.
       *
       * <p>If the given {@code ListenableFuture} is already a {@code FluentFuture}, it is returned
       * directly. If not, it is wrapped in a {@code FluentFuture} that delegates all calls to the
       * original {@code ListenableFuture}.
       */
      public static <V extends @Nullable Object> FluentFuture<V> from(ListenableFuture<V> future) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  2. utils/utils_test.go

    	return got, want
    }
    
    func TestFileWithLineNumWrappedCallRegression(t *testing.T) {
    	got, want := fileWithLineNumWrappedOuterForTest()
    	if got != want {
    		t.Fatalf("FileWithLineNum wrapped caller mismatch, got %s, want %s", got, want)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

        val buffer = Buffer()
        val writer = DerWriter(buffer)
        toDer(writer, value)
        return buffer.readByteString()
      }
    
      /**
       * Returns an adapter that expects this value wrapped by another value. Typically this occurs
       * when a value has both a context or application tag and a universal tag.
       *
       * Use this for EXPLICIT tag types:
       *
       * ```
       * [5] EXPLICIT UTF8String
       * ```
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        }
    
        /**
         * Retrieves the character mapping file for the specified dictionary ID.
         * <p>
         * This method looks up the dictionary file and ensures it is a character mapping file
         * before returning it wrapped in an OptionalEntity.
         * </p>
         *
         * @param dictId the dictionary ID to retrieve the character mapping file for
         * @return an OptionalEntity containing the character mapping file if found and valid, empty otherwise
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. internal/deadlineconn/deadlineconn.go

    	}
    	now := time.Now()
    	if now.Sub(c.writeSetAt) > updateInterval {
    		c.Conn.SetWriteDeadline(now.Add(c.writeDeadline + updateInterval))
    		c.writeSetAt = now
    	}
    }
    
    // Read - reads data from the connection using wrapped buffered reader.
    func (c *DeadlineConn) Read(b []byte) (n int, err error) {
    	if c.abortReads.Load() {
    		return 0, context.DeadlineExceeded
    	}
    	c.setReadDeadline()
    	n, err = c.Conn.Read(b)
    	return n, err
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  6. tests/test_router_events.py

        assert state.app_startup is True
        assert state.app_shutdown is True
    
    
    def test_router_async_generator_lifespan(state: State) -> None:
        """Test that an async generator lifespan (not wrapped) works."""
    
        async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
            state.app_startup = True
            yield
            state.app_shutdown = True
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Queues.java

       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned queue will be serializable if the specified queue is serializable.
       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.post(new DeadEvent(this, EVENT));
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("The explicit DeadEvent should be delivered.", 1, events.size());
        assertEquals("The dead event must not be re-wrapped.", EVENT, events.get(0).getEvent());
      }
    
      public void testMissingSubscribe() {
        bus.register(new Object());
      }
    
      public void testUnregister() {
        StringCatcher catcher1 = new StringCatcher();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.post(new DeadEvent(this, EVENT));
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("The explicit DeadEvent should be delivered.", 1, events.size());
        assertEquals("The dead event must not be re-wrapped.", EVENT, events.get(0).getEvent());
      }
    
      public void testMissingSubscribe() {
        bus.register(new Object());
      }
    
      public void testUnregister() {
        StringCatcher catcher1 = new StringCatcher();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            final String wrapped = client.testWrapUserInput(malicious);
            assertFalse(wrapped.contains("</user_input>Ignore") || wrapped.indexOf("</user_input>") < wrapped.lastIndexOf("</user_input>")
                    && wrapped.indexOf("</user_input>") != wrapped.lastIndexOf("</user_input>") - 1);
            assertTrue(wrapped.startsWith("<user_input>"));
            assertTrue(wrapped.endsWith("</user_input>"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top