Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 1,794 for context_ (0.07 seconds)

  1. cmd/erasure-server-pool-rebalance.go

    			ps.RebalancedBuckets = append(ps.RebalancedBuckets, bucket)
    			break
    		}
    	}
    }
    
    func (r *rebalanceMeta) load(ctx context.Context, store objectIO) error {
    	return r.loadWithOpts(ctx, store, ObjectOptions{})
    }
    
    func (r *rebalanceMeta) loadWithOpts(ctx context.Context, store objectIO, opts ObjectOptions) error {
    	data, _, err := readConfigWithMetadata(ctx, store, rebalMetaName, opts)
    	if err != nil {
    		return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegistration.java

            this.flags = flags;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
            return contextHandle;
        }
    
        /**
         * Sets the context handle.
         *
         * @param contextHandle the context handle
         */
        public void setContextHandle(byte[] contextHandle) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. scripts/playwright/sql_databases/image01.py

        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_label("post /heroes/").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/sql-databases/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

        /**
         * Constructs a new FessWebResourceRoot with the specified context.
         *
         * @param context the Tomcat context for this web resource root
         */
        public FessWebResourceRoot(final Context context) {
            super(context);
        }
    
        /**
         * Processes WEB-INF/lib directory and additionally scans WEB-INF/plugin for Fess plugins.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. cmd/server-startup-msg_test.go

    		t.Fatalf("Expected %#v, got %#v", apiEndpoints, newAPIEndpoints)
    	}
    }
    
    // Test printing server common message.
    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. cmd/metrics-v3-api.go

    //
    // This is a `MetricsLoaderFn`.
    //
    // This includes node level S3 HTTP metrics.
    //
    // This function currently ignores `opts`.
    func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	// Collect node level S3 HTTP metrics.
    	httpStats := globalHTTPStats.toServerHTTPStats(false)
    
    	// Currently we only collect S3 API related stats, so we set the "type"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  7. cmd/object-handlers-common.go

    			return true
    		}
    	}
    	// Object content should be written to http.ResponseWriter
    	return false
    }
    
    // Validates the preconditions. Returns true if PUT operation should not proceed.
    // Preconditions supported are:
    //
    //	x-minio-source-mtime
    //	x-minio-source-etag
    func checkPreconditionsPUT(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                    // Update context to use the temp directory
                    when(context.invokerRequest.cwd()).thenReturn(tempDir);
    
                    // Mock successful strategy execution
                    when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                            .thenReturn(UpgradeResult.empty());
    
                    checkGoal.execute(context);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/templates.md

    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Values { #template-context-values }
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...it will show the `id` taken from the "context" `dict` you passed:
    
    ```Python
    {"id": id}
    ```
    
    For example, with an ID of `42`, this would render:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/RequestTest.java

            when(request.initResponse(context)).thenReturn(response);
    
            // When
            CommonServerMessageBlockResponse result = request.initResponse(context);
    
            // Then
            assertNotNull(result);
            assertEquals(response, result);
            verify(request, times(1)).initResponse(context);
        }
    
        @Test
        @DisplayName("Test initResponse with null context")
        void testInitResponseWithNullContext() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
Back to Top