Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 234 for skip1 (0.02 seconds)

  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 -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. tests/gaussdb_test.go

    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestGaussDBReturningIDWhichHasStringType(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support pgcrypto extension and gen_random_uuid() function")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		// TODO: function gen_random_uuid() does not exist
    		ID        string `gorm:"default:gen_random_uuid()"`
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
        val toWrite = minOf(byteCount, triggerByteCount - bytesWritten)
        bytesWritten += toWrite
    
        delegate.write(source, toWrite)
    
        if (bytesWritten == triggerByteCount) {
          trigger()
        }
    
        source.skip(byteCount - toWrite)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. utils/utils.go

    // It skips:
    //   - GORM's core source files (identified by gormSourceDir prefix)
    //   - Exclude test files (*_test.go)
    //   - go-gorm/gen's Generated files (*.gen.go)
    func CallerFrame() runtime.Frame {
    	// Preserve the original CallerFrame stack depth after introducing callerFrame().
    	return callerFrame(4)
    }
    
    func callerFrame(skip int) runtime.Frame {
    	pcs := [13]uintptr{}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

                    "",
                    display = ParameterDisplay.PROMPT,
                    description = "Skips differential flame graph generation to avoid OOM in large adhoc tests.",
                    options =
                        listOf(
                            "Generate diffs" to "",
                            "Skip diffs generation" to "--no-generate-diffs",
                        ),
                )
                text(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 14:08:32 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @CanIgnoreReturnValue // to skip some bytes
      @Override
      short readShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readUnsignedShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      char readChar();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readInt();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      long readLong();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial002_an_py310.py

        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 664 bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public char readChar() throws IOException {
        return (char) readUnsignedShort();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public byte readByte() throws IOException {
        return (byte) readUnsignedByte();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. docs_src/dependency_testing/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Click Count (0)
Back to Top