Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,647 for happen (0.29 sec)

  1. src/crypto/cipher/io.go

    	Err error // unused
    }
    
    func (w StreamWriter) Write(src []byte) (n int, err error) {
    	c := make([]byte, len(src))
    	w.S.XORKeyStream(c, src)
    	n, err = w.W.Write(c)
    	if n != len(src) && err == nil { // should never happen
    		err = io.ErrShortWrite
    	}
    	return
    }
    
    // Close closes the underlying Writer and returns its Close return value, if the Writer
    // is also an io.Closer. Otherwise it returns nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/OncePerBuildInvocationVcsVersionWorkingDirResolver.java

    import java.io.File;
    import java.util.function.Supplier;
    
    /**
     * Ensures that a given resolution from (repo + selector) -> working dir is performed once per build invocation. Allows resolution for different repos to happen in parallel.
     */
    @ThreadSafe
    public class OncePerBuildInvocationVcsVersionWorkingDirResolver implements VcsVersionWorkingDirResolver {
        private final ProducerGuard<String> perRepoGuard = ProducerGuard.adaptive();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/grpc/ratelimit.go

    )
    
    // Limiter defines the interface to perform request rate limiting,
    // based on the interface exposed by https://pkg.go.dev/golang.org/x/time/rate#Limiter
    type Limiter interface {
    	// Allow reports whether an event may happen now.
    	Allow() bool
    }
    
    // LimiterUnaryServerInterceptor returns a new unary server interceptors that performs request rate limiting.
    func LimiterUnaryServerInterceptor(limiter Limiter) grpc.UnaryServerInterceptor {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 07:22:23 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/gc-stress.go

    	time.Sleep(5 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	defer trace.Stop()
    
    	// Let the tracing happen for a bit.
    	time.Sleep(400 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/04-vuln.yml

        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java

            synchronized (lock) {
                testInternal = executing.get(failure.getDescription());
            }
            boolean needEndEvent = false;
            if (testInternal == null) {
                // This can happen when, for example, a @BeforeClass or @AfterClass method fails
                needEndEvent = true;
                testInternal = descriptor;
                resultProcessor.started(testInternal, startEvent());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

                        toList(result.getArtifacts()),
                        result.getMissingArtifacts(),
                        request.getRemoteRepositories());
            }
    
            // this should never happen since we checked all possible error sources before but better be sure
            if (result.hasExceptions()) {
                throw new ArtifactResolutionException(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

                    VersionRange.createFromVersion("1.0"),
                    "type",
                    null,
                    "system",
                    "compile");
    
            // this one should never happen in practice...
            Artifact artifact5 = factory.createDependencyArtifact(
                    "test-grp", "test-artifact-5", VersionRange.createFromVersion("1.0"), "type", null, "system", "system");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchyRoot.java

        }
    
        /**
         * The version of the sub-hierarchy at the given location.
         *
         * The version increases if there is any updated version in a parent or descendant of the location.
         * Version updates happen via {@link #updateVersion(String)}.
         */
        public long getVersion(String location) {
            VfsRelativePath relativePath = VfsRelativePath.of(location);
            return relativePath.isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. tests/non_std_test.go

    	UpdatedAt  time.Time
    }
    
    func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) {
    	DB.Migrator().DropTable(&Animal{})
    	if err := DB.AutoMigrate(&Animal{}); err != nil {
    		t.Fatalf("no error should happen when migrate but got %v", err)
    	}
    
    	animal := Animal{Name: "Ferdinand"}
    	DB.Save(&animal)
    	updatedAt1 := animal.UpdatedAt
    
    	DB.Save(&animal).Update("name", "Francis")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top