Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,340 for held (0.05 sec)

  1. src/net/http/transfer.go

    		*dst = src
    		return
    	}
    	for k, vv := range src {
    		(*dst)[k] = vv
    	}
    }
    
    // unreadDataSizeLocked returns the number of bytes of unread input.
    // It returns -1 if unknown.
    // b.mu must be held.
    func (b *body) unreadDataSizeLocked() int64 {
    	if lr, ok := b.src.(*io.LimitedReader); ok {
    		return lr.N
    	}
    	return -1
    }
    
    func (b *body) Close() error {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

            // NOTE: We do not want/need a decorated version of JavaForkOptions or JavaDebugOptions because
            // these immutable instances are held across builds and will retain classloaders/services in the decorated object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. src/runtime/debug/garbage.go

    // external to Go, such as memory managed by the underlying system
    // on behalf of the process, or memory managed by non-Go code inside
    // the same process. Examples of excluded memory sources include: OS
    // kernel memory held on behalf of the process, memory allocated by
    // C code, and memory mapped by syscall.Mmap (because it is not
    // managed by the Go runtime).
    //
    // More specifically, the following expression accurately reflects
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    	if typ.Kind() == reflect.Chan || typ.Kind() == reflect.Func {
    		return false
    	}
    
    	return true
    }
    
    // getBaseType returns the Gob type describing the given reflect.Type's base type.
    // typeLock must be held.
    func getBaseType(name string, rt reflect.Type) (gobType, error) {
    	ut := userType(rt)
    	return getType(name, ut, ut.base)
    }
    
    // getType returns the Gob type describing the given reflect.Type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/runtime/defer_test.go

    		saveInt = a[4]
    		recurseFn(level+1, maxlevel)
    	} else {
    		panic("recurseFn panic")
    	}
    }
    
    // Try to reproduce issue #37688, where a pointer to an open-coded defer struct is
    // mistakenly held, and that struct keeps a pointer to a stack-allocated defer
    // struct, and that stack-allocated struct gets overwritten or the stack gets
    // moved, so a memory error happens on GC.
    func TestIssue37688(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            0 * _
    
            when:
            cacheAccess.close()
    
            then:
            1 * lock.close()
            0 * _
        }
    
        def "close fails when lock is currently held by another thread"() {
            def lock = Mock(FileLock)
    
            when:
            async {
                start {
                    def release = cacheAccess.acquireFileLock()
                    instant.acquired
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	fn        func()  // can be nil for open-coded defers
    	link      *_defer // next defer on G; can point to either heap or stack!
    
    	// If rangefunc is true, *head is the head of the atomic linked list
    	// during a range-over-func execution.
    	head *atomic.Pointer[_defer]
    }
    
    // A _panic holds information about an active panic.
    //
    // A _panic value must only ever live on the stack.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. src/runtime/preempt.go

    //
    // 2. gp has enough stack space to inject the asyncPreempt call.
    //
    // 3. It's generally safe to interact with the runtime, even if we're
    // in a signal handler stopped here. For example, there are no runtime
    // locks held, so acquiring a runtime lock won't self-deadlock.
    //
    // In some cases the PC is safe for asynchronous preemption but it
    // also needs to adjust the resumption PC. The new PC is returned in
    // the second result.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. internal/grid/muxclient.go

    	defer m.respMu.Unlock()
    	if m.closed {
    		return errors.New("mux client closed")
    	}
    	return m.sendLocked(msg)
    }
    
    // sendLocked the message. msg.Seq and msg.MuxID will be set.
    // m.respMu must be held.
    func (m *muxClient) sendLocked(msg message) error {
    	dst := GetByteBufferCap(msg.Msgsize())
    	msg.Seq = m.SendSeq
    	msg.MuxID = m.MuxID
    	msg.Flags |= m.BaseFlags
    	if debugPrint {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/prog.go

    	nextID     int64
    	inFlight   map[int64]chan<- *ProgResponse
    	outputFile map[OutputID]string // object => abs path on disk
    
    	// writeMu serializes writing to the child process.
    	// It must never be held at the same time as mu.
    	writeMu sync.Mutex
    }
    
    // ProgCmd is a command that can be issued to a child process.
    //
    // If the interface needs to grow, we can add new commands or new versioned
    // commands like "get2".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top