Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,097 for happen (0.11 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy

            pid == null
        }
    
        def "PID unboxing should not happen in Status"() {
            given:
            Long unknownPID = null;
    
            when:
            def status = new Status(unknownPID, "", "");
    
            then:
            notThrown(NullPointerException)
            status.pid == null
        }
    
        def "PID unboxing should not happen in DaemonStopEvent"() {
            given:
            Long unknownPID = null;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/sync/waitgroup.go

    // If the counter goes negative, Add panics.
    //
    // Note that calls with a positive delta that occur when the counter is zero
    // must happen before a Wait. Calls with a negative delta, or calls with a
    // positive delta that start when the counter is greater than zero, may happen
    // at any time.
    // Typically this means the calls to Add should execute before the statement
    // creating the goroutine or other event to be waited for.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/bucket-policy.go

    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. tests/embedded_struct_test.go

    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if egNews.BasePost.Title != "engadget_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	var egPosts []EngadgetPost
    	if err := DB.Order("author_name asc").Find(&egPosts).Error; err != nil {
    		t.Fatalf("no error should happen when query with embedded struct, but got %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/net/tcpsock_posix.go

    	// see this happen, rather than expose the buggy effect to users, we
    	// close the fd and try again. If it happens twice more, we relent and
    	// use the result. See also:
    	//	https://golang.org/issue/2690
    	//	https://stackoverflow.com/questions/4949858/
    	//
    	// The opposite can also happen: if we ask the kernel to pick an appropriate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

    import org.gradle.initialization.BuildCancellationToken;
    
    public interface DaemonStateControl {
        /**
         * <p>Requests that the daemon stop, but wait until the daemon is idle. The stop will happen asynchronously, and this method does not block.
         *
         * <p>The daemon will stop accepting new work, so that subsequent calls to {@link #runCommand} will fail with {@link DaemonUnavailableException}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. test/fixedbugs/issue67255.go

    		// unallocated, which we need to reproduce the bug.
    		objs = append(objs, make([]*byte, i))
    	}
    	sink = objs // force heap allocation
    
    	// Bug will happen as soon as the write barrier turns on.
    	for range 10000 {
    		sink = make([]*byte, 1024)
    		for _, s := range objs {
    			s = append(s, make([]*byte, zero)...)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 922 bytes
    - Viewed (0)
  8. docs/en/docs/reference/exceptions.md

    # Exceptions - `HTTPException` and `WebSocketException`
    
    These are the exceptions that you can raise to show errors to the client.
    
    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  9. src/internal/trace/testdata/generators/go122-go-create-without-running-g.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Regression test for an issue found in development.
    //
    // GoCreate events can happen on bare Ps in a variety of situations and
    // and earlier version of the parser assumed this wasn't possible. At
    // the time of writing, one such example is goroutines created by expiring
    // timers.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 996 bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/ProjectParallelExecutionController.java

    import org.gradle.internal.service.scopes.ServiceScope;
    
    @ServiceScope(Scope.CrossBuildSession.class)
    public interface ProjectParallelExecutionController {
        /**
         * Indicate that project execution may happen.
         *
         * <p>Note: this must be called prior to any projects being created for a build tree.</p>
         */
        void startProjectExecution(boolean parallel);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top