Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Demakin (0.19 sec)

  1. internal/ioutil/ioutil.go

    		}
    
    		buf = buf[:nr]
    		var (
    			n  int
    			un int
    			nw int64
    		)
    
    		remain := len(buf) % DirectioAlignSize
    		if remain == 0 {
    			// buf is aligned for directio write()
    			n, err = w.Write(buf)
    			nw = int64(n)
    		} else {
    			if remain < len(buf) {
    				n, err = w.Write(buf[:len(buf)-remain])
    				if err != nil {
    					return written, err
    				}
    				nw = int64(n)
    			}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    
    When the Kotlin DSL was introduced, we made an effort to add non-Groovy equivalents for all APIs.
    This has been mostly done, but there remain a few hold outs (fixing these are out of scope).
    
    To keep the Groovy DSL ergonomic, we generate methods as necessary from the non-Groovy equivalents.
    
    Doing this provides the following specific benefits:
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
        plans to start removing things again, but officially, we're leaving our
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. cmd/service.go

    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    		globalServiceFreeze.Store(make(chan struct{}))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    
    When the Kotlin DSL was introduced, we made an effort to add non-Groovy equivalents for all APIs.
    This has been mostly done, but there remain a few holdouts (fixing these is out of scope).
    
    To keep the Groovy DSL ergonomic, we generate methods as necessary from the non-Groovy equivalents.
    
    Doing this provides the following specific benefits:
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractNetworkTest.validateNetwork(network);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(network.addNode(node)).isTrue();
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/1-time.md

    These new behaviors are only enabled when the main Go program
    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    			}
    
    			uint16string := strings.Repeat(".", uint16max)
    			remain := wantLen
    			for remain > 0 {
    				commentLen := int(uint16max) - directoryHeaderLen - 1
    				thisRecLen := directoryHeaderLen + int(uint16max) + commentLen
    				if int64(thisRecLen) > remain {
    					remove := thisRecLen - int(remain)
    					commentLen -= remove
    					thisRecLen -= remove
    				}
    				remain -= int64(thisRecLen)
    				f, err := w.CreateHeader(&FileHeader{
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

       * waiting for the running calls to complete.
       *
       * If more than [maxRequests] requests are in flight when this is invoked, those requests will
       * remain in flight.
       */
      var maxRequests = 64
        get() = this.withLock { field }
        set(maxRequests) {
          require(maxRequests >= 1) { "max < 1: $maxRequests" }
          this.withLock {
            field = maxRequests
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          if (closed) return
    
          if (bytesRemaining != 0L &&
            !discard(ExchangeCodec.DISCARD_STREAM_TIMEOUT_MILLIS, MILLISECONDS)
          ) {
            carrier.noNewExchanges() // Unread bytes remain on the stream.
            responseBodyComplete()
          }
    
          closed = true
        }
      }
    
      /** An HTTP body with alternating chunk sizes and chunk bodies. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top