Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for division (0.04 sec)

  1. src/test/java/jcifs/dcerpc/rpcTest.java

                verify(mockNdrBuffer, times(8)).dec_ndr_small(); // revision + sub_authority_count + 6 identifier_authority bytes
                verify(mockNdrBuffer).advance(6); // identifier_authority advance
                verify(mockNdrBuffer).advance(8); // sub_authority advance (4 * 2)
                verify(mockNdrBuffer, times(2)).derive(anyInt());
    
                assertEquals((byte) 1, sid.revision);
                assertEquals((byte) 2, sid.sub_authority_count);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            assertEquals(domainInfo.name.maximum_length / 2, decodedInfo.name.buffer.length);
    
            // Verify SID
            assertNotNull(decodedInfo.sid);
            assertEquals(domainInfo.sid.revision, decodedInfo.sid.revision);
            assertEquals(domainInfo.sid.sub_authority_count, decodedInfo.sid.sub_authority_count);
        }
    
        @Test
        void testLsarDomainInfoEncodeDecodeWithNulls() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    // init bool says whether this is a valid gmp value.
    // doinit initializes z.i if it needs it.  This is not inherent
    // to FFI, just a mismatch between Go's convention of
    // making zero values useful and gmp's decision not to.
    func (z *Int) doinit() {
    	if z.init {
    		return
    	}
    	z.init = true
    	C.mpz_init(&z.i[0])
    }
    
    // Bytes returns z's representation as a big-endian byte array.
    func (z *Int) Bytes() []byte {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

      }
    
      /**
       * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#remainderUnsigned(int, int)} instead.
       *
       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Create a minimal valid security descriptor binary
            // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimum
            byte[] securityDescriptorBytes = new byte[20];
            securityDescriptorBytes[0] = 1; // revision
            securityDescriptorBytes[1] = 0; // sbz1
            // control flags (2 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    00E0..00F6    ; valid                                  # 1.1  LATIN SMALL LETTER A WITH GRAVE..LATIN SMALL LETTER O WITH DIAERESIS
    00F7          ; valid                  ;      ; NV8    # 1.1  DIVISION SIGN
    00F8..00FF    ; valid                                  # 1.1  LATIN SMALL LETTER O WITH STROKE..LATIN SMALL LETTER Y WITH DIAERESIS
    0100          ; mapped                 ; 0101          # 1.1  LATIN CAPITAL LETTER A WITH MACRON
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/rpc.java

            /**
             * Default constructor for sid_t.
             */
            public sid_t() {
                // Default constructor
            }
    
            /**
             * The revision level of the SID structure.
             */
            public byte revision;
            /**
             * The number of sub-authorities in this SID.
             */
            public byte sub_authority_count;
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. cmd/bucket-replication-utils_test.go

    }{
    	{ // 1.
    		name: "empty string",
    		dsc:  "",
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{},
    		},
    		expErr: nil,
    	},
    
    	{ // 2.
    		name:   "replicate decision for one target",
    		dsc:    "arn:minio:replication::id:bucket=true;false;arn:minio:replication::id:bucket;id",
    		expErr: nil,
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SIDTest.java

         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testStringConstructor() throws SmbException {
            SID sid = new SID(adminSidString);
            assertEquals(1, sid.revision);
            assertEquals(2, sid.sub_authority_count);
            assertEquals(5, sid.identifier_authority[5]);
            assertEquals(32, sid.sub_authority[0]);
            assertEquals(544, sid.sub_authority[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

                    }
    
                    return sid.revision == revision;
                }
            }
            return false;
        }
    
        /**
         * Return the numeric representation of this sid such as
         * {@code S-1-5-21-1496946806-2192648263-3843101252-1029}.
         */
        @Override
        public String toString() {
            StringBuilder ret = new StringBuilder("S-").append(revision & 0xFF).append("-");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top