Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for skip1 (0.02 sec)

  1. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("keep1", SmbConstants.TYPE_SHARE), entry("skip1", SmbConstants.TYPE_SHARE),
                    entry("keep2", SmbConstants.TYPE_SHARE));
    
            // Filter accepts names starting with "keep"
            when(filter.accept(any())).thenAnswer(inv -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacDataInputStream.java

            final byte[] bytes = new byte[8 + sidSize * 4];
            readFully(bytes);
            return new SID(bytes, 0);
        }
    
        /**
         * Skips the specified number of bytes in the stream.
         * @param n the number of bytes to skip
         * @return the actual number of bytes skipped
         * @throws IOException if an I/O error occurs
         */
        public int skipBytes(final int n) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
        void iterationSkipsDotAndDotDot() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("a");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. cmd/common-main.go

    type envKV struct {
    	Key   string
    	Value string
    	Skip  bool
    }
    
    func (e envKV) String() string {
    	if e.Skip {
    		return ""
    	}
    	return fmt.Sprintf("%s=%s", e.Key, e.Value)
    }
    
    func parsEnvEntry(envEntry string) (envKV, error) {
    	envEntry = strings.TrimSpace(envEntry)
    	if envEntry == "" {
    		// Skip all empty lines
    		return envKV{
    			Skip: true,
    		}, nil
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    	for i, test := range testMPs {
    		{
    			// nil range
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil)
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			if o != 0 || l != esum(test.oi) || skip != 0 || sn != 0 || ps != 0 {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		// Skip 1Mib and read 1Mib (in the decrypted object)
    		//
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/query-params.md

    Im obigen Beispiel haben sie die Defaultwerte `skip=0` und `limit=10`.
    
    Wenn Sie also zur URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    gehen, so ist das das gleiche wie die URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Aber wenn Sie zum Beispiel zu:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    gehen, werden die Parameter-Werte Ihrer Funktion sein:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/query-params.md

    У наведеному вище прикладі вони мають значення за замовчуванням: `skip=0` і `limit=10`.
    
    Отже, результат переходу за URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    буде таким самим, як і перехід за посиланням:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Але якщо Ви перейдете, наприклад, за посиланням:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Значення параметрів у вашій функції будуть такими:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/query-params.md

    En el ejemplo anterior, tienen valores por defecto de `skip=0` y `limit=10`.
    
    Entonces, ir a la URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    sería lo mismo que ir a:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Pero si vas a, por ejemplo:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Los valores de los parámetros en tu función serán:
    
    * `skip=20`: porque lo configuraste en la URL
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Try to skip more than available
            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params.md

    In the example above they have default values of `skip=0` and `limit=10`.
    
    So, going to the URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    would be the same as going to:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    But if you go to, for example:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    The parameter values in your function will be:
    
    * `skip=20`: because you set it in the URL
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top