Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 96 for keyval (0.06 seconds)

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

         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            @Override
            public int getOpnum() {
                return 0x0f;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
            public String servername;
            /**
             * The information level to return.
             */
            public int level;
            /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode return value
                verify(mockNdrBuffer).dec_ndr_long();
                assertEquals(0, message.retval);
            }
        }
    
        @Nested
        @DisplayName("SamrConnect2 Tests")
        class SamrConnect2Tests {
    
            @Test
            @DisplayName("Should construct with correct parameters and opnum")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  4. logger/sql_test.go

    		myrole             = role("admin")
    		pwd                = password("pass")
    		jsVal              = []byte(`{"Name":"test","Val":"test"}`)
    		js                 = JSON(jsVal)
    		esVal              = []byte(`{"Name":"test","Val":"test"}`)
    		es                 = ExampleStruct{Name: "test", Val: "test"}
    		intVal   intType   = 1
    		floatVal floatType = 1.23
    	)
    
    	results := []struct {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle);
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(123); // retval
    
            lsarClose.decode_out(mockNdrBuffer);
    
            verify(mockHandle).decode(mockNdrBuffer);
            assertEquals(123, lsarClose.retval);
        }
    
        // Test for LsarQueryInformationPolicy
        @Test
        void testLsarQueryInformationPolicyConstructorAndGetOpnum() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 60.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            }
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
            /**
             * Creates a new LsarClose message.
             *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

         *
         * This will require that a keytab is configured in this service.
         *
         *
         */
        public JAASAuthenticator() {
            this("jcifs");
        }
    
        /**
         * Create an authenticator using the given JAAS service
         *
         * This will require that a keytab is configured in this service.
         *
         * @param serviceName
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  9. tests/lru_test.go

    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    
    	// Adding an entry with the same key but different value
    	newVal := "val1"
    	lc.Add("key1", &newVal)
    
    	value, exists = lc.Get("key1")
    	if value != &newVal || !exists {
    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    }
    
    func TestLRU_Values(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

            handle.sendrecv(rpc);
            switch (rpc.retval) {
            case 0:
            case NtStatus.NT_STATUS_NONE_MAPPED:
            case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED
                break;
            default:
                throw new SmbException(rpc.retval, false);
            }
    
            for (int si = 0; si < sids.length; si++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
Back to Top