Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 399 for csharp (0.04 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      @Override
      protected final char @Nullable [] escape(int cp) {
        if (cp < replacementsLength) {
          char[] chars = replacements[cp];
          if (chars != null) {
            return chars;
          }
        }
        if (cp >= safeMin && cp <= safeMax) {
          return null;
        }
        return escapeUnsafe(cp);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        public String getNetName() {
            return netName;
        }
    
        /**
         * Sets the share name to monitor.
         *
         * @param shareName the share name
         */
        public void setShareName(String shareName) {
            this.shareName = shareName;
        }
    
        /**
         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractByteHasher.java

        scratch.putLong(l);
        return update(scratch, Longs.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        ByteBuffer scratch = scratch();
        scratch.putChar(c);
        return update(scratch, Chars.BYTES);
      }
    
      private ByteBuffer scratch() {
        if (scratch == null) {
          scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 12:40:17 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertNotNull(result);
            // Hexdump uses uppercase letters
            // Note: completionFilter is displayed with 4 hex chars, not 8
            assertTrue(result.contains("fid=0xFFFF"));
            assertTrue(result.contains("filter=0xFFFF")); // Only 4 hex chars are shown
            assertTrue(result.contains("watchTree=true"));
        }
    
        @Test
        @DisplayName("Test toString method with zero values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            serverAddress = InetAddress.getByName("192.168.1.100");
            registration = new WitnessRegistration("\\\\server\\share", serverAddress, WitnessServiceType.FILE_SERVER_WITNESS);
        }
    
        @Test
        void testRegistrationCreation() {
            assertNotNull(registration.getRegistrationId());
            assertEquals("\\\\server\\share", registration.getShareName());
            assertEquals(serverAddress, registration.getServerAddress());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Dfs.java

        synchronized void insert(final String path, final DfsReferral dr) {
            int s1, s2;
            String server, share, key;
    
            if (DISABLED) {
                return;
            }
    
            s1 = path.indexOf('\\', 1);
            s2 = path.indexOf('\\', s1 + 1);
            server = path.substring(1, s1);
            share = path.substring(s1 + 1, s2);
    
            key = path.substring(0, dr.pathConsumed).toLowerCase();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.startsWith("NtlmChallenge[challenge=0x"));
                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
            @DisplayName("toString with empty challenge array")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.connection.RouteDatabase
    
    /**
     * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that
     * share the same [Address] may share a [Connection]. This class implements the policy
     * of which connections to keep open for future use.
     *
     * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * Retrieves the share associated with this SMB resource. In
         * the case of <code>smb://</code>, <code>smb://workgroup/</code>,
         * and <code>smb://server/</code> URLs which do not specify a share,
         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        public String getShare() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/Base64Util.java

                return "";
            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
            if (mod != 0) {
                outData = new char[(num + 1) * 4];
            } else {
                outData = new char[num * 4];
            }
            for (int i = 0; i < num; i++) {
                encode(inData, i * 3, outData, i * 4);
            }
            if (mod == 1) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top