Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 280 for caps (0.02 sec)

  1. doc/go_mem.html

    can lead to inconsistent values not corresponding to a single write.
    When the values depend on the consistency
    of internal (pointer, length) or (pointer, type) pairs,
    as can be the case for interface values, maps,
    slices, and strings in most Go implementations,
    such races can in turn lead to arbitrary memory corruption.
    </p>
    
    <p>
    Examples of incorrect synchronization are given in the
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    			t.Fatalf("Available() = %v, want %v", w.Available(), cap(b))
    		}
    
    		// While not recommended, it is valid to append to a shifted buffer.
    		// This forces Write to copy the input.
    		if rn.Intn(8) == 0 && cap(b) > 0 {
    			b = b[1:1:cap(b)]
    		}
    
    		// Append a random integer of varying width.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
        long cap = Long.MIN_VALUE / radix;
    
        while (index < string.length()) {
          digit = AsciiDigits.digit(string.charAt(index++));
          if (digit < 0 || digit >= radix || accum < cap) {
            return null;
          }
          accum *= radix;
          if (accum < Long.MIN_VALUE + digit) {
            return null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

         *
         * @param sessionId unique session identifier
         */
        public void removeSessionKey(String sessionId) {
            checkNotClosed();
    
            // Remove from memory maps
            SecretKey secretKey = sessionKeys.remove(sessionId);
            byte[] rawKey = rawKeys.remove(sessionId);
    
            // Wipe the raw key bytes
            if (rawKey != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Joiner.java

          }
    
          @Override
          public MapJoiner withKeyValueSeparator(String kvs) {
            throw new UnsupportedOperationException("can't use .skipNulls() with maps");
          }
        };
      }
    
      /**
       * Returns a {@code MapJoiner} using the given key-value separator, and the same configuration as
       * this {@code Joiner} otherwise.
       *
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

                map.clear();
            }
            return map;
        }
    
        private void returnContextMap(Map<String, Object> map) {
            if (map instanceof HashMap && map.size() < 20) { // Avoid keeping very large maps
                mapPool.offer((HashMap<String, Object>) map);
            }
        }
    
        /**
         * Get audit statistics
         *
         * @return map of event types to counts
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/binary"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"maps"
    	"math/rand"
    	"net/url"
    	"reflect"
    	"runtime"
    	"slices"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableListMultimap;
    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multimaps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	"crypto/sha1"
    	"encoding/base64"
    	"encoding/hex"
    	"encoding/xml"
    	"fmt"
    	"hash"
    	"hash/crc32"
    	"io"
    	"maps"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"path"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/auth"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top