Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for share_name (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                final int _share_namep = _src.dec_ndr_long();
    
                if (_server_namep != 0) {
                    _src = _src.deferred;
                    server_name = _src.dec_ndr_string();
    
                }
                if (_share_namep != 0) {
                    _src = _src.deferred;
                    share_name = _src.dec_ndr_string();
    
                }
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            assertEquals(storageInfo.share_name, decodedStorageInfo.share_name);
        }
    
        @Test
        void testDfsStorageInfo_EncodeDecode_NullStrings() throws NdrException {
            netdfs.DfsStorageInfo storageInfo = new netdfs.DfsStorageInfo();
            storageInfo.state = netdfs.DFS_STORAGE_STATE_OFFLINE;
            storageInfo.server_name = null;
            storageInfo.share_name = null;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test valid share names")
        @ValueSource(strings = { "share", "share$", "SHARE", "share123", "share-name", "share_name", "share.name" })
        void testValidShareNames(String share) {
            assertDoesNotThrow(() -> InputValidator.validateShareName(share));
        }
    
        @Test
        @DisplayName("Test port validation")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            setConverter(response, converterValue);
            setNumEntries(response, 1);
    
            String shareName = "TEST";
            String remark = "Test remark";
    
            byte[] buffer = new byte[200];
            int bufferIndex = 0;
    
            // Write share name
            byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 13));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. docs/smb3-features/06-witness-protocol-design.md

            UNREGISTERING,
            FAILED,
            EXPIRED
        }
        
        public WitnessRegistration(String shareName, InetAddress serverAddress, 
                                  WitnessServiceType serviceType) {
            this.registrationId = generateRegistrationId();
            this.shareName = shareName;
            this.serverAddress = serverAddress;
            this.serviceType = serviceType;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            assertEquals(testSharename, msrpcShareGetInfo.sharename);
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "", "share1", "\\\\server\\share", "C$", "ADMIN$", "IPC$" })
        void testConstructorWithDifferentSharenames(String sharename) {
            // Test with various sharename values
            MsrpcShareGetInfo shareGetInfo = new MsrpcShareGetInfo(testServer, sharename);
            assertNotNull(shareGetInfo);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         *
         * @param contextHandle the context handle
         * @param shareName the share name
         * @return the registration ID
         */
        private String generateRegistrationId(byte[] contextHandle, String shareName) {
            if (contextHandle == null || contextHandle.length == 0) {
                return "WITNESS-" + System.currentTimeMillis() + "-" + shareName.hashCode();
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

             * @param info the information container
             */
            public ShareGetInfo(final String servername, final String sharename, final int level, final NdrObject info) {
                this.servername = servername;
                this.sharename = sharename;
                this.level = level;
                this.info = info;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 27K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                            try {
                                String shareName = "share" + (threadId % 5); // Use 5 different shares
    
                                // Test concurrent tree operations (should be thread-safe with CopyOnWriteArrayList)
                                long opStart = System.nanoTime();
                                session.getSmbTree(shareName, null);
                                long opEnd = System.nanoTime();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. tensorflow/c/eager/custom_device_test.cc

      TFE_OpSetAttrType(op.get(), "dtype", TF_FLOAT);
      TFE_OpSetAttrShape(op.get(), "shape", {}, 0, status.get());
      TFE_OpSetAttrString(op.get(), "container", "", 0);
      TFE_OpSetAttrString(op.get(), "shared_name", "", 0);
      TFE_OpSetDevice(op.get(), name, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_TensorHandle* var_handle = nullptr;
      int num_retvals = 1;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Click Count (0)
Back to Top