Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 658 for samples (3.29 sec)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

        class ImplementationTests {
    
            @Test
            @DisplayName("Test concrete implementation of FileNotifyInformation")
            void testConcreteImplementation() {
                // Create a simple implementation for testing
                FileNotifyInformation impl = new FileNotifyInformation() {
                    private final int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        Configuration mockConfig;
    
        private SmbFileInputStream newStream() throws SmbException {
            // Constructor that avoids external I/O; stays in-memory
            when(mockTree.isSMB2()).thenReturn(true); // default SMB2 for simple happy-path
            return new SmbFileInputStream(mockFile, mockTree, mockHandle);
        }
    
        @BeforeEach
        void setUp() throws Exception {
            // Common, safe defaults for collaborators
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            void shouldCreateMvnDirectoryWhenModelVersionNot410() throws Exception {
                Path projectDir = tempDir.resolve("project");
                Files.createDirectories(projectDir);
    
                // Create a simple POM file
                String pomXml = PomBuilder.create()
                        .groupId("test")
                        .artifactId("test")
                        .version("1.0.0")
                        .build();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. impl/maven-core/plugin-manager.txt

    - jar
    - hooks for loading
    
    - I could make an annotation that marked another class as its plugin discoverer, I could just add it to
      the component descriptor and when it's loaded we can add the discoverer, that would be simpler. I could
      also do this with the lister as well
    i'l
    // 1 the metadata -> model plugin/mojo descriptor
    // 2 tools for doing the mapping
    // 3 the component model -> interfaces for the plugin
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

       * @return a hash code for the value
       */
      @InlineMe(replacement = "Character.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a char is the int version of the char itself, so it's simplest to return"
              + " that.")
      public static int hashCode(char value) {
        return value;
      }
    
      /**
       * Returns the {@code char} value that is equal to {@code value}, if possible.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a short is the int version of the short itself, so it's simplest to return"
              + " that.")
      public static int hashCode(short value) {
        return value;
      }
    
      /**
       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a short is the int version of the short itself, so it's simplest to return"
              + " that.")
      public static int hashCode(short value) {
        return value;
      }
    
      /**
       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/PathValidator.java

         */
        private boolean isValidHost(String host) {
            if (host == null || host.isEmpty()) {
                return false;
            }
    
            // Check for valid hostname or IP address
            // Simple validation - can be enhanced
            if (host.length() > 255) {
                return false;
            }
    
            // Check for invalid characters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format_test.go

    func getXLMetaBytes(totalParts int) []byte {
    	xlSampleMeta := getSampleXLMeta(totalParts)
    	xlMetaBytes, err := json.Marshal(xlSampleMeta)
    	if err != nil {
    		panic(err)
    	}
    	return xlMetaBytes
    }
    
    // Returns sample xlMetaV1Object{} for number of parts.
    func getSampleXLMeta(totalParts int) xlMetaV1Object {
    	xlMeta := newTestXLMetaV1()
    	// Number of checksum info == total parts.
    	xlMeta.Erasure.Checksums = make([]ChecksumInfo, totalParts)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top