Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 429 for csharp (0.04 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        public void test_constructor_withSpecialCharactersInMessage() {
            // Test constructor with special characters in message
            final String message = "Job failed with special chars: \n\t\r\"'<>&";
            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree(String share, final String service) {
            SmbTree t;
    
            if (share == null) {
                share = "IPC$";
            }
            for (final Enumeration e = trees.elements(); e.hasMoreElements();) {
                t = (SmbTree) e.nextElement();
                if (t.matches(share, service)) {
                    return t;
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K 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. src/main/java/jcifs/smb1/util/Hexdump.java

            if (length == 0) {
                return;
            }
    
            final int s = length % 16;
            final int r = s == 0 ? length / 16 : length / 16 + 1;
            final char[] c = new char[r * (74 + NL_LENGTH)];
            final char[] d = new char[16];
            int i;
            int si = 0;
            int ci = 0;
    
            do {
                toHexChars(si, c, ci, 5);
                ci += 5;
                c[ci] = ':';
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            assertFalse(protocolHelper.isValidFileProtocol("smb://server/share"));
    
            protocolHelper.addFileProtocol("smb");
            assertEquals(2, protocolHelper.getFileProtocols().length);
            assertEquals("smb:", protocolHelper.getFileProtocols()[1]);
            assertTrue(protocolHelper.isValidFileProtocol("smb://server/share"));
        }
    
        public void test_addFileProtocol_duplicateProtocol() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

      if (status->status.ok()) {
        char* buf = new char[new_handle.size() + 1];
        memcpy(buf, new_handle.c_str(), new_handle.size() + 1);
        *handle = buf;
      }
    }
    
    void TF_PRun(TF_DeprecatedSession* s, const char* handle,
                 // Input tensors
                 const char** c_input_names, TF_Tensor** c_inputs, int ninputs,
                 // Output tensors
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top