Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for expectAction (0.18 sec)

  1. src/internal/trace/testtrace/format.go

    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to read test file for %s: %v", testPath, err)
    	}
    	if len(ar.Files) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/ResourceMapper.java

                storageObject.getContentType(),
                storageObject.getEtag(),
                null // we cannot use md5 instead of sha1 here because cache will get corrupted due to its expectation of sha1 hashes
            );
        }
    
        private ResourceMapper() {
            throw new AssertionError("No instances");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/execarchive.go

    package ld
    
    import (
    	"os"
    	"os/exec"
    	"path/filepath"
    	"syscall"
    )
    
    const syscallExecSupported = true
    
    // execArchive invokes the archiver tool with syscall.Exec(), with
    // the expectation that this is the last thing that takes place
    // in the linking operation.
    func (ctxt *Link) execArchive(argv []string) {
    	var err error
    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        @Requires(value = IntegTestPreconditions.NotParallelExecutor, reason = """
    Don't run in parallel mode, as the expectation for the setup build are incorrect and running in parallel
    does not really make any difference to the coverage
    """)
        def "runs tasks in different projects in parallel by default"() {
            server.start()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
                requestBody.writeTo(bufferedRequestBody)
              } else {
                // Write the request body if the "Expect: 100-continue" expectation was met.
                val bufferedRequestBody = exchange.createRequestBody(request, false).buffer()
                requestBody.writeTo(bufferedRequestBody)
                bufferedRequestBody.close()
              }
            } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    			//
    			// According to
    			// http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20
    			// Expect header is always of form:
    			//
    			//   Expect       =  "Expect" ":" 1#expectation
    			//   expectation  =  "100-continue" | expectation-extension
    			//
    			// So it safe to assume that '100-continue' is what would
    			// be sent, for the time being keep this work around.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/artifacts/configurations/AbstractRoleBasedConfigurationCreationRequest.java

         *
         * This method will emit a detailed deprecation method with suggestions if the usage is inconsistent.  It will then attempt to mutate
         * the usage to match the expectation.  If the usage cannot be mutated, it will throw an exception.
         *
         * Does <strong>NOT</strong> check anything to do with deprecated usage.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. pkg/security/apparmor/validate.go

    	return retErr
    }
    
    // ValidateHost verifies that the host and runtime is capable of enforcing AppArmor profiles.
    // Note, this is intentionally only check the host at kubelet startup and never re-evaluates the host
    // as the expectation is that the kubelet restart will be needed to enable or disable AppArmor support.
    func (v *validator) ValidateHost() error {
    	return v.validateHostErr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/internal/runtime/exithook/hooks.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package exithook provides limited support for on-exit cleanup.
    //
    // CAREFUL! The expectation is that Add should only be called
    // from a safe context (e.g. not an error/panic path or signal
    // handler, preemption enabled, allocation allowed, write barriers
    // allowed, etc), and that the exit function F will be invoked under
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top