Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 2,074 for complements (0.1 seconds)

  1. internal/dsync/locked_rand.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"math/rand"
    	"sync"
    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/GitInfoPlugin.java

    import org.gradle.api.provider.Provider;
    import org.gradle.api.provider.ProviderFactory;
    import org.gradle.initialization.layout.BuildLayout;
    
    import javax.inject.Inject;
    import java.io.File;
    
    class GitInfoPlugin implements Plugin<Project> {
    
        private ProviderFactory factory;
        private ObjectFactory objectFactory;
    
        private Provider<String> revision;
        private Property<GitInfo> gitInfo;
    
        @Inject
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  3. src/archive/tar/strconv.go

    //
    // If operating in binary mode, this assumes strict GNU binary mode; which means
    // that the first byte can only be either 0x80 or 0xff. Thus, the first byte is
    // equivalent to the sign bit in two's complement form.
    func fitsInBase256(n int, x int64) bool {
    	binBits := uint(n-1) * 8
    	return n >= 9 || (x >= -1<<binBits && x < 1<<binBits)
    }
    
    // parseNumeric parses the input as being encoded in either base-256 or octal.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. src/bufio/bufio.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 06 17:28:40 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

    import org.lastaflute.core.direction.CurtainFinallyHook;
    import org.lastaflute.core.direction.FwAssistantDirector;
    
    /**
     * The hook for curtain finally.
     *
     * @author jflute
     */
    public class FessCurtainFinallyHook implements CurtainFinallyHook {
    
        private static final Logger logger = LogManager.getLogger(FessCurtainFinallyHook.class);
    
        @Override
        public void hook(final FwAssistantDirector assistantDirector) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.request().header("Date"));
        }
      }
    
      static class CurrentDateInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class FinalizablePhantomReference<T> extends PhantomReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable phantom reference.
       *
       * @param referent to phantom reference
       * @param queue that should finalize the referent
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java

    /** Forwarding wrapper around a {@code Condition}. */
    @SuppressWarnings("WaitNotInLoop") // We are just delegating; _our user_ must loop.
    @J2ktIncompatible
    @GwtIncompatible
    abstract class ForwardingCondition implements Condition {
      abstract Condition delegate();
    
      @Override
      public void await() throws InterruptedException {
        delegate().await();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 24 18:55:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarClose.java

     */
    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.rpc.policy_handle;
    import jcifs.dcerpc.msrpc.lsarpc.LsarClose;
    
    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation.
     */
    public class MsrpcLsarClose extends LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
         * @param handle the policy handle to close
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top