Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,446 for needle (0.06 seconds)

  1. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            int bytesDecoded1 = fileInternalInfo.decode(buffer, 0, 5); // Less than needed
            assertEquals(8, bytesDecoded1); // Should still return 8
            assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber());
    
            FileInternalInfo info2 = new FileInternalInfo();
            int bytesDecoded2 = info2.decode(buffer, 0, 15); // More than needed
            assertEquals(8, bytesDecoded2); // Should still return 8
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbTransportTest.java

        private SmbTransport smbTransport;
    
        @Mock
        private CIFSContext cifsContext;
    
        @Mock
        private Address remoteAddress;
    
        @BeforeEach
        void setUp() {
            // Common setup for mocks if needed
        }
    
        @Test
        void testGetContext() {
            // Arrange
            when(smbTransport.getContext()).thenReturn(cifsContext);
    
            // Act
            CIFSContext result = smbTransport.getContext();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/background-tasks.md

    ## Caveat { #caveat }
    
    If you need to perform heavy background computation and you don't necessarily need it to be run by the same process (for example, you don't need to share memory, variables, etc), you might benefit from using other bigger tools like <a href="https://docs.celeryq.dev" class="external-link" target="_blank">Celery</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. internal/grid/handlers.go

    	// A non-nil error value will be returned as RemoteErr(msg) to client.
    	// No client information or cancellation (deadline) is available.
    	// Include this in payload if needed.
    	// Payload should be recycled with PutByteBuffer if not needed after the call.
    	SingleHandlerFn func(payload []byte) ([]byte, *RemoteErr)
    
    	// StatelessHandlerFn must handle incoming stateless request.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

        private final List<EventSpy> eventSpies;
    
        @Inject
        public EventSpyDispatcher(List<EventSpy> eventSpies) {
            // make copy to get rid of needless overhead for dynamic lookups
            this.eventSpies = new ArrayList<>(eventSpies);
        }
    
        public ExecutionListener chainListener(ExecutionListener listener) {
            if (eventSpies.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Supplier.java

     * used as a {@code java.util.function.Supplier} directly. To use a {@code
     * java.util.function.Supplier} in a context where a {@code com.google.common.base.Supplier} is
     * needed, use {@code supplier::get}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * @author Harry Heymann
     * @since 2.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. CONTRIBUTING.md

        own the intellectual property, then you'll need to sign an [individual
        CLA][]. Please include your GitHub username.
      - If you work for a company that wants to allow you to contribute your work,
        then you'll need to sign a [corporate CLA][].
    
    You generally only need to submit a CLA once, so if you've already submitted
    one (even if it was for a different project), you probably don't need to do it
    again.
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 15 18:43:50 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. cmd/service.go

    // freezeServices will freeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

          required: true
    
      - type: textarea
        attributes:
          label: How do you want it to be improved?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Why do we need it to be improved?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/config/SecurityConfigurationTest.java

            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify encryption configuration is available (default is false for compatibility)
            // But can be enabled when needed
            assertTrue("Encryption configuration should be functional", true); // Always passes - encryption is available as an option
        }
    
        /**
         * Test that signing is properly configured
         */
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top