Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 3,007 for int8 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            String filename = "a\\test\\path.txt";
            int informationLevel = 0x0102;
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
            // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator)
            byte[] dst = new byte[2 + 4 + filename.length() + 1];
    
            // When
            int bytesWritten = trans.writeParametersWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. generics.go

    	})
    }
    
    func (c chainG[T]) Delete(ctx context.Context) (rowsAffected int, err error) {
    	r := new(T)
    	res := c.g.apply(ctx).Delete(r)
    	return int(res.RowsAffected), res.Error
    }
    
    func (c chainG[T]) Update(ctx context.Context, name string, value any) (rowsAffected int, err error) {
    	var r T
    	res := c.g.apply(ctx).Model(r).Update(name, value)
    	return int(res.RowsAffected), res.Error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param out the output stream
         * @return the number of bytes copied
         */
        protected static int copyInternal(final InputStream in, final OutputStream out) {
            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

          E e) /*-{
        return ******@****.***::getDeclaringClass()();
      }-*/;
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    
      static int reduceExponentIfGwt(int exponent) {
        return exponent / 2;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertEquals(1, pool.failCounts.get("10.0.0.1"));
            assertEquals(1, pool.failCounts.get("10.0.0.2"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, -1 })
        @DisplayName("Should default to port 445 when port <= 0")
        void testDefaultPort(int invalidPort) throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.length, dst, dstIndex);
            dstIndex += 8;
    
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            return dstIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        /**
         * Sets the lease flags for this request
         * @param leaseFlags the lease flags to set
         */
        public void setLeaseFlags(int leaseFlags) {
            this.leaseFlags = leaseFlags;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

        /**
         * Default number of records to display per page.
         */
        public static final int DEFAULT_PAGE_SIZE = 20;
    
        /**
         * Default current page number for pagination.
         */
        public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1;
    
        /**
         * The total number of records in the result set.
         */
        private int allRecordCount;
    
        /**
         * The total number of pages available for pagination.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) {
            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
            while (bufferIndex < end && (bufferIndex + 152) <= end) {
                // Read Next field to determine if there are more entries
                int next = SMBUtil.readInt4(buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

         */
        int DCERPC_RESERVED_1 = 0x08;
        /**
         * Supports concurrent multiplexing flag
         */
        int DCERPC_CONC_MPX = 0x10; /* supports concurrent multiplexing */
        /**
         * Did not execute flag - indicates request was not executed
         */
        int DCERPC_DID_NOT_EXECUTE = 0x20;
        /**
         * Maybe flag - indicates 'maybe' call semantics requested
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top