Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 1,355 for _context (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/namespace-lock_test.go

    	if gotSource != expectedSource {
    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    func TestNSLockRace(t *testing.T) {
    	t.Skip("long test skip it")
    
    	ctx := t.Context()
    
    	for i := range 10000 {
    		nsLk := newNSLock(false)
    
    		// lk1; ref=1
    		if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) {
    			t.Fatal("failed to acquire lock")
    		}
    
    		// lk2
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * <p>
     * This interface allows plugins and extensions to define and register additional path scopes
     * beyond the standard ones provided by Maven. Path scopes define how dependencies are used
     * in different contexts, such as compilation, testing, or runtime.
     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

        /**
         *
         * @param tf
         * @return a session for the context
         */
        @Override
        public SmbSessionImpl getSmbSession(final CIFSContext tf) {
            return getSmbSession(tf, null, null);
        }
    
        /**
         *
         * @param tf
         *            context to use
         * @return a session for the context
         */
        @Override
        @SuppressWarnings("resource")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  4. migrator/migrator.go

    type Config struct {
    	CreateIndexAfterCreateTable bool
    	DB                          *gorm.DB
    	gorm.Dialector
    }
    
    type printSQLLogger struct {
    	logger.Interface
    }
    
    func (l *printSQLLogger) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    	sql, _ := fc()
    	fmt.Println(sql + ";")
    	l.Interface.Trace(ctx, begin, fc, err)
    }
    
    // GormDataTypeInterface gorm data type interface
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial013_an_py310.py

    def generate_stream(query: str):
        for ch in query:
            yield ch
            time.sleep(0.1)
    
    
    @app.get("/generate", dependencies=[Depends(get_user)])
    def generate(query: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 937 bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Supplier.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
     * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. docs/debugging/healing-bin/main.go

    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]any)
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/stream-data.md

    ## 사용자 정의 `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    위 예시에서는 바이트 데이터를 스트리밍했지만, 응답에 `Content-Type` 헤더가 없어 클라이언트는 어떤 유형의 데이터를 받는지 알 수 없습니다.
    
    스트리밍하는 데이터 유형에 맞춰 `Content-Type` 헤더를 설정하는 `StreamingResponse`의 하위 클래스를 직접 만들 수 있습니다.
    
    예를 들어 `media_type` 속성을 사용해 `Content-Type` 헤더를 `image/png`로 설정하는 `PNGStreamingResponse`를 만들 수 있습니다:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  9. .ci/jobs.t/elastic+elasticsearch+multijob+platform-support-unix.yml

                - "ubuntu-20.04&&immutable"
                - "rocky-linux-8&&immutable"
        builders:
          - inject:
              properties-file: '.ci/java-versions.properties'
              properties-content: |
                JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
                RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
                JAVA15_HOME=$HOME/.java/openjdk15
          - shell: |
              #!/usr/local/bin/runbld --redirect-stderr
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 14 17:35:45 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertNotNull(client1);
            assertNotNull(client2);
            assertNotSame(client1, client2);
        }
    
        // Test constructor with different thread context
        @Test
        public void test_constructorInDifferentThread() throws Exception {
            // Test that constructor works in different thread
            final CrawlerEngineClient[] clientHolder = new CrawlerEngineClient[1];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top