Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 490 for offsetX (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun checkOffsetAndCount(
      arrayLength: Long,
      offset: Long,
      count: Long,
    ) {
      if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) {
        throw ArrayIndexOutOfBoundsException("length=$arrayLength, offset=$offset, count=$offset")
      }
    }
    
    internal fun <T> interleave(
      a: Iterable<T>,
      b: Iterable<T>,
    ): List<T> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            }
            return this;
        }
    
        /**
         * Calculates padding needed for the given offset
         * @param offset
         *            the current offset
         * @return padding size in bytes
         */
        protected int pad(final int offset) {
            final int p = offset % getPadding();
            if (p == 0) {
                return 0;
            }
            return getPadding() - p;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals(NtStatus.NT_STATUS_ACCESS_DENIED, ex.getNtStatus());
        }
    
        @Test
        @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) resolves missing, caches, and reuses cache")
        void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception {
            CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            response.setDataCount(infoData.length);
    
            int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset);
    
            assertTrue(bytesRead > 0);
            assertNotNull(response.getInfo());
        }
    
        // Helper methods to create mock buffers for different file information types
    
        private byte[] createMockFileBasicInfoBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @param off offset in the buffer
         * @param length maximum length to receive
         * @return number of bytes received
         * @throws IOException if an I/O error occurs
         */
        int recv(byte[] buf, int off, int length) throws IOException;
    
        /**
         * Send data to the pipe
         *
         * @param buf buffer containing data to send
         * @param off offset in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String messageWithSpecialChars = "Error: offset > 1000 && offset < 2000 | \"quotes\" 'single' \n\t tab";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(messageWithSpecialChars);
    
            assertEquals(messageWithSpecialChars, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    				done <- true
    			}(j, ft)
    			n++
    		}
    	}
    	for ; n > 0; n-- {
    		<-done
    	}
    }
    
    func equalTimeAndZone(t1, t2 time.Time) bool {
    	name1, offset1 := t1.Zone()
    	name2, offset2 := t2.Zone()
    	return t1.Equal(t2) && name1 == name2 && offset1 == offset2
    }
    
    func readTestFile(t *testing.T, zt ZipTest, ft ZipTestFile, f *File, raw []byte) {
    	if f.Name != ft.Name {
    		t.Errorf("name=%q, want %q", f.Name, ft.Name)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    parentOffset = {
                        top: this.parentEl.offset().top - this.parentEl.scrollTop(),
                        left: this.parentEl.offset().left - this.parentEl.scrollLeft()
                    };
                    parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left;
                }
    
                switch (drops) {
                case 'auto':
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(0, ndrBuffer.index);
            assertEquals(0, ndrBuffer.length);
            assertSame(ndrBuffer, ndrBuffer.deferred);
            assertSame(buffer, ndrBuffer.buf);
    
            // Test with a different start offset
            NdrBuffer offsetBuffer = new NdrBuffer(buffer, 10);
            assertEquals(10, offsetBuffer.start);
            assertEquals(10, offsetBuffer.index);
            assertEquals(0, offsetBuffer.length);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top