Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 1,944 for contexts (0.33 seconds)

  1. cmd/object-handlers-common_test.go

    			request.Header.Set(xhttp.IfModifiedSince, tc.ifModifiedSince)
    			request.Header.Set(xhttp.IfMatch, tc.ifMatch)
    			request.Header.Set(xhttp.IfUnmodifiedSince, tc.ifUnmodifiedSince)
    			actualFlag := checkPreconditions(t.Context(), recorder, request, tc.objInfo, ObjectOptions{})
    			if tc.expectedFlag != actualFlag {
    				t.Errorf("test: %s, got flag: %v, want: %v", tc.name, actualFlag, tc.expectedFlag)
    			}
    			if tc.expectedCode != recorder.Code {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbResourceTest.java

                when(resource.getContext()).thenReturn(mockContext);
    
                // When
                CIFSContext context = resource.getContext();
    
                // Then
                assertNotNull(context, "Context should not be null");
                assertSame(mockContext, context, "Should return the expected context");
            }
    
            @Test
            @DisplayName("getName should return resource name")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  3. internal/event/config_test.go

       <Event>s3:ObjectRemoved:*</Event>
    </QueueConfiguration>`)
    	queue3 := &Queue{}
    	if err := xml.Unmarshal(data, queue3); err != nil {
    		panic(err)
    	}
    
    	targetList1 := NewTargetList(t.Context())
    
    	targetList2 := NewTargetList(t.Context())
    	if err := targetList2.Add(&ExampleTarget{TargetID{"1", "webhook"}, false, false}); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		queue      *Queue
    		region     string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 28.9K bytes
    - Click Count (0)
  4. README.md

    ```
    
    ## Advanced Usage
    
    ### Index from Existing Documents
    
    ```java
    import org.codelibs.fess.suggest.index.contents.document.ESSourceReader;
    
    // Index suggestions from existing Elasticsearch documents
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "content-index",        // source index
        "document"             // document type
    );
    
    suggester.indexer()
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java

        }
    
        private void buildFactories(AggregatorFactories.Builder factories) throws IOException {
            try (DummyAggregationContext context = new DummyAggregationContext(factories.bytesToPreallocate())) {
                factories.build(context, null).createTopLevelAggregators();
            }
        }
    
        private class DummyAggregationContext extends AggregationContext {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 16 08:22:22 GMT 2021
    - 12.3K bytes
    - Click Count (0)
  6. .github/workflows/vulncheck.yml

    name: VulnCheck
    on:
      pull_request:
        branches:
          - master
    
      push:
        branches:
          - master
    
    permissions:
      contents: read # to fetch code (actions/checkout)
    
    jobs:
      vulncheck:
        name: Analysis
        runs-on: ubuntu-latest
        steps:
          - name: Check out code into the Go module directory
            uses: actions/checkout@v4
          - name: Set up Go
            uses: actions/setup-go@v5
            with:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 23:34:11 GMT 2025
    - 682 bytes
    - Click Count (0)
  7. internal/config/storageclass/storage-class.go

    		cfg.inlineBlock = 128 * humanize.KiByte
    	}
    
    	cfg.initialized = true
    
    	return cfg, nil
    }
    
    func configLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "config", err, id, errKind...)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeCollector.java

                Type.CLASSPATH_JAR, Type.CLASSPATH_PROCESSOR,
                Type.MODULAR_JAR, Type.MODULAR_PROCESSOR);
    
        @Override
        public DependencyNode transformGraph(DependencyNode root, DependencyGraphTransformationContext context)
                throws RepositoryException {
            Map<String, String> processorTypes = null;
            for (DependencyNode child : root.getChildren()) {
                if (child.getArtifact() == null) {
                    continue;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. cmd/metacache-marker.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.logging.LoggingEventListener
    
    class Main : CliktCommand(name = NAME) {
      override val printHelpOnEmptyArgs = true
    
      override fun help(context: Context): String = "A curl for the next-generation web."
    
      val method: String? by option("-X", "--request").help("Specify request command to use")
    
      val data: String? by option("-d", "--data").help("HTTP POST data")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top