Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 833 for chunks (0.04 seconds)

  1. src/test/java/jcifs/smb/SmbFileTest.java

            @Test
            void testMkdir() throws SmbException, CIFSException {
                // Arrange
                when(mockTreeHandle.isSMB2()).thenReturn(false);
    
                // Mock exists() check - mkdir checks if directory already exists
                SmbComQueryInformationResponse existsResponse = mock(SmbComQueryInformationResponse.class);
                when(existsResponse.getAttributes()).thenReturn(0); // Not found
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            assertThrows(
                IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N1, N1, E11));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      /**
       * This test checks an implementation dependent feature. It tests that the method {@code addEdge}
       * will silently add the missing nodes to the graph, then add the edge connecting them. We are not
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                        .map(Map.Entry::getKey)
                        .collect(Collectors.toList())
                        .forEach(sessionCache::remove);
            }
        }
    
        /**
         * Checks if a session is expired.
         *
         * @param session the session to check
         * @return true if the session is expired
         */
        protected boolean isExpired(final ChatSession session) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

                final PacUnicodeString homeDirectoryString = pacStream.readUnicodeString();
                final PacUnicodeString homeDriveString = pacStream.readUnicodeString();
    
                // Some counts
                this.logonCount = pacStream.readShort();
                this.badPasswordCount = pacStream.readShort();
    
                // IDs for user
                final SID userId = pacStream.readId();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

                }
                if (strictView && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException) ioe;
                }
            }
            return null;
        }
    
        /**
         * Checks if a domain is trusted for DFS operations
         * @param domain the domain name to check
         * @param auth the authentication credentials
         * @return true if the domain is trusted, false otherwise
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
            when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte counts
    
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/PathValidatorTest.java

            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.function.Consumer;
    import java.util.stream.Collectors;
    
    /**
     * Checks for split packages with dependencies. These are not allowed in a future modularized world.
     */
    public class SplitPackagesAuditTask extends DefaultTask {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         */
        public static InetAddress getWINSAddress() {
            return NBNS.length == 0 ? null : NBNS[nbnsIndex];
        }
    
        /**
         * Checks if the given address is a configured WINS server.
         *
         * @param svr the server address to check
         * @return true if the address is a WINS server, false otherwise
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        distinctValues.replaceValues(type, ImmutableList.of(value1, value2));
        setDefault(type, value1);
        return this;
      }
    
      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
Back to Top