Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 476 for rolling (0.04 seconds)

  1. tests/chainable_api_test.go

    	args, ok := tx.Statement.Preloads["Orders"]
    	if !ok || len(args) != 2 {
    		t.Fatalf("Preload expected with args, got %v", tx.Statement.Preloads)
    	}
    
    	// Scopes: just ensure calling Scopes doesn't panic and returns a DB
    	tx = tx.Scopes(func(d *gorm.DB) *gorm.DB { return d.Where("status = ?", "ok") })
    	if tx == nil {
    		t.Fatalf("Scopes returned nil")
    	}
    
    	// Unscoped
    	tx = tx.Unscoped()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. fastapi/.agents/skills/fastapi/SKILL.md

    ```python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    # Use async def when calling async code
    @app.get("/async-items/")
    async def read_async_items():
        data = await some_async_library.fetch_items()
        return data
    
    
    # Use plain def when calling blocking/sync code or when in doubt
    @app.get("/items/")
    def read_items():
        data = some_blocking_library.fetch_items()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
       * <p>Usage example:
       *
       * {@snippet :
       * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch
       * // counters.
       * ListenableFuture<Integer> faultTolerantFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        final ImmutableList<Timeout> timeouts;
    
        TimeoutsToUse(Timeout... timeouts) {
          this.timeouts = ImmutableList.copyOf(timeouts);
        }
      }
    
      /** Possible outcomes of calling any of the methods under test. */
      private enum Outcome {
    
        /** The method returned normally and is either void or returned true. */
        SUCCESS,
    
        /** The method returned false. */
        FAILURE,
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Lists.java

       * tiny bit of syntactic sugar for {@code new ArrayList<>(}{@link Arrays#asList asList}{@code
       * (...))}, or for creating an empty list then calling {@link Collections#addAll}. This method is
       * not actually very useful.
       */
      @SafeVarargs
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  6. internal/lru/lru.go

    	ttl  time.Duration
    	done chan struct{}
    
    	// buckets for expiration
    	buckets []bucket[K, V]
    	// uint8 because it's number between 0 and numBuckets
    	nextCleanupBucket uint8
    }
    
    // bucket is a container for holding entries to be expired
    type bucket[K comparable, V any] struct {
    	entries     map[K]*Entry[K, V]
    	newestEntry time.Time
    }
    
    // noEvictionTTL - very long ttl to prevent eviction
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertNull(context.getSigningKey()); // Signing key should not be generated
        }
    
        @Test
        void testInitSecContext_invalidState() throws SmbException {
            // Test that calling initSecContext in an invalid state throws an exception
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/cmd/cgo/doc.go

    In C, a function argument written as a fixed size array
    actually requires a pointer to the first element of the array.
    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    circumvent this by using a C function wrapper. For example:
    
    	package main
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  9. src/main/assemblies/files/fess

        echo "   --prop=val"
        echo "   --prop val     set fess property (i.e. -Des.<prop>=<val>)"
    }
    
    # Parse any long getopt options and put them into properties before calling getopt below
    # Be dash compatible to make sure running under ubuntu works
    ARGV=""
    while [ $# -gt 0 ]
    do
        case $1 in
          --help) ARGV="$ARGV -h"; shift;;
          --*=*) properties="$properties -Dfess.${1#--}"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            try {
                Path existingPath = tempDir.resolve("existing");
                Files.createDirectories(existingPath);
                assertTrue(Files.exists(existingPath));
    
                // Calling again should not throw exception
                Files.createDirectories(existingPath);
                assertTrue(Files.exists(existingPath));
            } finally {
                deleteDirectory(tempDir.toFile());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top