Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 294 for Maps (0.03 seconds)

  1. src/archive/tar/common.go

    		h.Uname = sys.Uname
    		h.Gname = sys.Gname
    		h.AccessTime = sys.AccessTime
    		h.ChangeTime = sys.ChangeTime
    		h.Xattrs = maps.Clone(sys.Xattrs)
    		if sys.Typeflag == TypeLink {
    			// hard link
    			h.Typeflag = TypeLink
    			h.Size = 0
    			h.Linkname = sys.Linkname
    		}
    		h.PAXRecords = maps.Clone(sys.PAXRecords)
    	}
    	var doNameLookups = true
    	if iface, ok := fi.(FileInfoNames); ok {
    		doNameLookups = false
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  2. cmd/erasure-metadata.go

    		fi.TransitionedObjName != ofi.TransitionedObjName,
    		fi.TransitionVersionID != ofi.TransitionVersionID:
    		return false
    	}
    	return true
    }
    
    // MetadataEquals returns true if FileInfos Metadata maps are equal, false otherwise.
    func (fi FileInfo) MetadataEquals(ofi FileInfo) bool {
    	if len(fi.Metadata) != len(ofi.Metadata) {
    		return false
    	}
    	for k, v := range fi.Metadata {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. internal/grid/grid_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"maps"
    	"os"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func TestSingleRoundtrip(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  4. cmd/object-multipart-handlers.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bufio"
    	"context"
    	"fmt"
    	"io"
    	"maps"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
  5. guava-tests/test/com/google/common/collect/HashBiMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import com.google.common.base.Preconditions;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import com.google.common.collect.MapMaker;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.j2objc.annotations.Weak;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.EnumMap;
    import java.util.List;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

       * display. This includes two values for each extreme.
       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
       * work for this purpose, which may cause problems for navigable maps with non-string or unicode
       * generators.
       */
      private static List<String> getExtremeValues() {
        List<String> result = new ArrayList<>();
        result.add("!! a");
        result.add("!! b");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    @AndroidIncompatible // test-suite builders
    public final class MapTestSuiteBuilderTests extends TestCase {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import com.google.common.base.Converter;
    import com.google.common.collect.ClassToInstanceMap;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.collect.MutableClassToInstanceMap;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                Key<Object> valueType = key.getTypeParameter(1);
                if (keyType.getRawType() != String.class) {
                    throw new DIException("Only String keys are supported for maps: " + key);
                }
                return () -> {
                    var comparator = getPriorityComparator();
                    Map<String, Binding<?>> map = new HashMap<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top