Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for discarded (0.47 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                // Only runs once, as the transform execution in-memory cache is not discarded prior to execution time
                output.count(lib1Message) == 1
                output.count(lib2Message) == 1
            } else {
                // Transform is also executed at execution time, as the artifact has changed and the execution cache is discarded on load from cache
                output.count(lib1Message) == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    	// back, or for the associated context to be closed.
    	<-tx.ctx.Done()
    
    	// Discard and close the connection used to ensure the
    	// transaction is closed and the resources are released.  This
    	// rollback does nothing if the transaction has already been
    	// committed or rolled back.
    	// Do not discard the connection if the connection knows
    	// how to reset the session.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    		t.Fatal(err)
    	}
    	if selectName != insertName {
    		t.Fatalf("got %q want %q", selectName, insertName)
    	}
    }
    
    // TestConnIsValid verifies that a database connection that should be discarded,
    // is actually discarded and does not re-enter the connection pool.
    // If the IsValid method from *fakeConn is removed, this test will fail.
    func TestConnIsValid(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    between the quotes;
    in particular, backslashes have no special meaning and the string may
    contain newlines.
    Carriage return characters ('\r') inside raw string literals
    are discarded from the raw string value.
    </p>
    
    <p>
    Interpreted string literals are character sequences between double
    quotes, as in <code>&quot;bar&quot;</code>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                     this->getOperation()->getParentOp())) {
        if (&regionOp.getFinalize() == this->getOperation()->getParentRegion()) {
          // `finalize`'s returns get discarded.
          return MutableOperandRange(this->getOperation(), 0, 0);
        }
      }
      return MutableOperandRange(this->getOperation());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    // by reflect, the receiver is always an *Outer. Copying the modified receiver pointer
    // off the stack into the frame will store an *Inner there, and then if a garbage collection
    // happens to scan that argument frame before it is discarded, it will scan the *Inner
    // memory as if it were an *Outer. If the two have different memory layouts, the
    // collection will interpret the memory incorrectly.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	f    func(io.ReadCloser)
    }
    
    var testHandlerBodyConsumers = []testHandlerBodyConsumer{
    	{"nil", func(io.ReadCloser) {}},
    	{"close", func(r io.ReadCloser) { r.Close() }},
    	{"discard", func(r io.ReadCloser) { io.Copy(io.Discard, r) }},
    }
    
    func TestRequestBodyReadErrorClosesConnection(t *testing.T) {
    	setParallel(t)
    	defer afterTest(t)
    	for _, handler := range testHandlerBodyConsumers {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    		if n, _ := io.Copy(io.Discard, r.Body); n == 0 {
    			t.Error("body length is zero")
    		}
    	})).ts
    	c := ts.Client()
    	c.Transport.(*Transport).RegisterProtocol("http", roundTripFunc(func(r *Request) (*Response, error) {
    		// Draining body to trigger failure condition on actual request to server.
    		if n, _ := io.Copy(io.Discard, r.Body); n == 0 {
    			t.Error("body length is zero during round trip")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. src/net/http/server.go

    					w.closeAfterReply = true
    				}
    			case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
    				tooBig = true
    			default:
    				discard = true
    			}
    			bdy.mu.Unlock()
    		default:
    			discard = true
    		}
    
    		if discard {
    			_, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
    			switch err {
    			case nil:
    				// There must be even more data left over.
    				tooBig = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	enc := json.NewEncoder(w)
    	if err := enc.Encode(madmin.ClientPerfExtraTime{TimeSpent: atomic.LoadInt64(&globalLastClientPerfExtraTime)}); err != nil {
    		return
    	}
    }
    
    // ClientDevNull - everything goes to io.Discard
    // [POST] /minio/admin/v3/speedtest/client/devnull
    func (a adminAPIHandlers) ClientDevNull(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	timeStart := time.Now()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
Back to top