Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 639 for shar (0.01 sec)

  1. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      @CanIgnoreReturnValue
      public final Hasher putShort(short s) {
        buffer.putShort(s);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putChar(char c) {
        buffer.putChar(c);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putInt(int i) {
        buffer.putInt(i);
        munchIfFull();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP(final String hostname) {
            if (Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertNotNull(cifsContextWrapper);
        }
    
        @Test
        void testGetSmbResource() throws CIFSException, MalformedURLException {
            // Test get(String url) method
            String url = "smb://server/share/file.txt";
            SmbResource mockSmbResource = mock(SmbFile.class);
            // Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate
            // and ensure no exception is thrown for a valid URL.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
            when(smbFile.isOpen()).thenReturn(true);
    
            // Mock the open method to do nothing
            doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. docs/smb3-features/02-persistent-handles-design.md

        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useDurableHandles", "true");
        
        SmbFile file = new SmbFile("smb://server/share/test.txt", context);
        file.createNewFile();
        
        // Write some data
        try (OutputStream os = file.getOutputStream()) {
            os.write("test data".getBytes());
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testChar() {
        Sink sink = new Sink(4);
        sink.putChar((char) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testString() {
        Random random = new Random();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params-numeric-validations.md

    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    /// info
    
    `Query`, `Path`, and other classes you will see later are subclasses of a common `Param` class.
    
    All of them share the same parameters for additional validation and metadata you have seen.
    
    ///
    
    /// note | Technical Details
    
    When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PopularWordHelper.class);
    
        /** Character used to separate cache key components */
        protected static final char CACHE_KEY_SPLITTER = '\n';
    
        /** Cache for storing popular word lists */
        protected Cache<String, List<String>> cache;
    
        /** Fess configuration instance */
        protected FessConfig fessConfig;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        /**
         * Constructs an Open AndX request.
         *
         * @param config the configuration
         * @param fileName the name of the file to open
         * @param access the desired access mode
         * @param shareAccess the share access mode
         * @param flags the open flags
         * @param fileAttributes the file attributes
         * @param andx the next command in the chain
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      fun validateCloseCode(code: Int) {
        val message = closeCodeExceptionMessage(code)
        require(message == null) { message!! }
      }
    
      fun acceptHeader(key: String): String = (key + ACCEPT_MAGIC).encodeUtf8().sha1().base64()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top