Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 2,166 for accept (0.16 seconds)

  1. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    // Or create a visible subclass for testing.
    // For now, let's assume we can modify the original class slightly for testability,
    // or we accept the less precise testToStringFormat test.
    
    // Let's add a package-private helper to TransTransactNamedPipeResponse:
    // String superToString() { return super.toString(); }
    // And modify the test to use it.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

      }
    
      /**
       * Enters this monitor. Blocks at most the given time.
       *
       * @return whether the monitor was entered
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public boolean enter(long time, TimeUnit unit) {
        long timeoutNanos = toSafeNanos(time, unit);
        ReentrantLock lock = this.lock;
        if (!fair && lock.tryLock()) {
          return true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         *
         * @param visitor the visitor to call back, must not be {@code null}
         * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings
         */
        boolean accept(@Nonnull NodeVisitor visitor);
    
        /**
         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When
            request.setFileId(emptyFileId);
    
            // Then - should accept empty file ID
            assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle unspecified file ID constant")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/middleware.md

    If an incoming request does not validate correctly then a `400` response will be sent.
    
    ## `GZipMiddleware` { #gzipmiddleware }
    
    Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
    
    The middleware will handle both standard and streaming responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py310.py hl[2,6] *}
    
    The following arguments are supported:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. internal/s3select/jstream/decoder.go

    			err error
    			sn  string
    		)
    		sn = string(d.scratch.bytes())
    		if n, err = strconv.ParseFloat(sn, 64); err != nil {
    			return 0, err
    		}
    	}
    
    	d.back()
    	return n, nil
    }
    
    // array accept valid JSON array value
    func (d *Decoder) array() ([]any, error) {
    	d.depth++
    	if d.maxDepth > 0 && d.depth > d.maxDepth {
    		return nil, ErrMaxDepth
    	}
    
    	var (
    		c     byte
    		v     any
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/WinError.java

        /** Array of Windows error messages corresponding to WINERR_CODES */
        String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
                "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/WinError.java

        /** Array of Windows error messages corresponding to WINERR_CODES */
        String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
                "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DosErrorTest.java

                if (nt != -1) {
                    consumer.accept(dos, nt);
                }
            }
    
            // Assert: consumer called exactly for the 3 known codes, with the right arguments
            ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class);
            ArgumentCaptor<Integer> ntCaptor = ArgumentCaptor.forClass(Integer.class);
            verify(consumer, times(3)).accept(dosCaptor.capture(), ntCaptor.capture());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

    @Deprecated(since = "4.0.0")
    public interface ModelSource2 extends ModelSource {
        /**
         * Returns model source identified by a path relative to this model source POM. Implementation <strong>MUST</strong>
         * be able to accept <code>relPath</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator</li>
         * <li>have .. parent directory references</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top