Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 295 for getPipe (0.06 sec)

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

        }
    
        // Helper to create a minimal FileEntry mock
        private FileEntry entry(String name, int type) {
            FileEntry e = mock(FileEntry.class);
            when(e.getName()).thenReturn(name);
            when(e.getType()).thenReturn(type);
            return e;
        }
    
        @Test
        @DisplayName("Happy path without filter: iterates all entries in order")
        void happyPath_noFilter_returnsAll() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            // SMB file implementation. For now, we'll provide a basic structure.
    
            log.debug("Performing reconnection for handle: {} (type: {})", info.getPath(), info.getType());
    
            // Create reconnect context
            DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId());
    
            // This would typically involve:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            FE(String name) {
                this.name = name;
            }
    
            @Override
            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public int getAttributes() {
                return 0;
            }
    
            @Override
            public long createTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            Date expires = crawlingInfoHelper.getDocumentExpires(null);
            assertNotNull(expires); // Returns documentExpires when config is null
            assertEquals(currentTime + 1000, expires.getTime());
    
            // Test when documentExpires is set but config is provided (but config has no timeToLive)
            crawlingInfoHelper.documentExpires = currentTime + 5000;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
              try {
                T constant = type.cast(field.get(null));
                if (constant != null) {
                  return constant;
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

                    break;
                }
            }
            dirCount = fileCount = 0;
            maxLen = 28;
            for (i = 0; i < dirents.length; i++) {
                try {
                    if (dirents[i].getType() == SmbConstants.TYPE_NAMED_PIPE) {
                        continue;
                    }
                } catch (final SmbAuthException sae) {
                    log.warn("Auth failed", sae);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            DirectoryCacheEntry.FileInfo fileInfo = entry.getChild(childName);
            assertNotNull(fileInfo);
            assertEquals(childName, fileInfo.getName());
            assertEquals(size, fileInfo.getSize());
            assertEquals(lastModified, fileInfo.getLastModified());
            assertEquals(isDirectory, fileInfo.isDirectory());
            assertEquals(attributes, fileInfo.getAttributes());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

                return null;
            }
    
            @Override
            public boolean isIPC() {
                return false;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public boolean isWorkgroup() {
                return false;
            }
    
            @Override
            public boolean isRoot() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          return array;
        }
        Method emptyGenerate = EMPTY_GENERATORS.get(rawType);
        if (emptyGenerate != null) {
          if (emptyInstanceGenerated.containsKey(type.getType())) {
            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()).intValue() == freshness.get()) {
              // same freshness, generate again.
              return invokeGeneratorMethod(emptyGenerate);
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            Date date = pdis.readFiletime();
            assertNotNull(date);
            // Allow for a small difference due to precision loss
            assertEquals(time / 1000, date.getTime() / 1000);
    
            // Test with null date (0x7fffffff ffffffff)
            byte[] nullData = new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, 0x7f };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top