Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 199 for Training (0.04 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // Then
            assertNull(result);
            verify(request, times(1)).createCancel();
        }
    
        @Test
        @DisplayName("Test allowChain returns true when chaining is allowed")
        void testAllowChainReturnsTrue() {
            // Given
            when(request.allowChain(nextRequest)).thenReturn(true);
    
            // When
            boolean result = request.allowChain(nextRequest);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

         *  wire format so that we can observe only the bytes written by a method.
         */
        private static byte[] newBuffer(int length) {
            // initialise with distinct pattern to detect unused trailing bytes
            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

    public class MavenChainedWorkspaceReader implements MavenWorkspaceReader {
    
        protected List<WorkspaceReader> readers;
        protected WorkspaceRepository repository;
    
        /**
         * Creates a new workspace reader by chaining the specified readers.
         *
         * @param readers The readers to chain must not be {@code null}.
         */
        public MavenChainedWorkspaceReader(WorkspaceReader... readers) {
            setReaders(Arrays.asList(readers));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbException.java

         * @param value the context value
         * @return this exception for chaining
         */
        public SmbException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Sets a recovery hint for the error
         *
         * @param hint the recovery hint
         * @return this exception for chaining
         */
        public SmbException withRecoveryHint(String hint) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if cs.Type.Trailing() {
    		r.trailer = req.Trailer
    	}
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddChecksumNoTrailer will add checksum checks as specified in
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/UnicodeEscaper.java

        int destIndex = 0;
        int unescapedChunkStart = 0;
    
        while (index < end) {
          int cp = codePointAt(s, index, end);
          if (cp < 0) {
            throw new IllegalArgumentException("Trailing high surrogate at end of input");
          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        inflater.inflate(buffer)
        assertThat(buffer.readUtf8()).isEqualTo("Hello inflation!")
      }
    
      /**
       * It's possible a self-terminating deflated message will contain trailing data that won't be
       * processed during inflation. If this happens, we need to either reject the message or discard
       * the unreachable data. We choose to discard it!
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

                    return host + "/"; // mimic the JVM behaviour for root or server
                }
                if (path.endsWith("/")) {
                    return path.substring(0, path.length()); // keep trailing slash
                }
                String[] parts = path.split("/");
                return parts[parts.length - 1];
            }
    
            @Override
            public String getParent() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbOperationException.java

         * @return this exception for chaining
         */
        public SmbOperationException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Add multiple context values
         *
         * @param contextMap the context map to add
         * @return this exception for chaining
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/PathValidator.java

                }
    
                // Check for trailing spaces or periods (Windows doesn't handle well)
                if (component.endsWith(" ") || component.endsWith(".")) {
                    throw new SmbException("Path component has trailing space or period: " + component);
                }
            }
        }
    
        /**
         * Validate host name
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top