Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 1,517 for Take (0.22 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          list.add(i);
        }
    
        Ordering<Object> arbitrary =
            new ArbitraryOrdering() {
              @Override
              int identityHashCode(Object object) {
                return ((Integer) object) % 5; // fake tons of collisions!
              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        sort(list, arbitrary);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

          list.add(i);
        }
    
        Ordering<Object> arbitrary =
            new ArbitraryOrdering() {
              @Override
              int identityHashCode(Object object) {
                return ((Integer) object) % 5; // fake tons of collisions!
              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        sort(list, arbitrary);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    		p.errorf("expect two or three operands for TEXT")
    		return
    	}
    
    	// Labels are function scoped. Patch existing labels and
    	// create a new label space for this TEXT.
    	p.patch()
    	p.labels = make(map[string]*obj.Prog)
    
    	// Operand 0 is the symbol name in the form foo(SB).
    	// That means symbol plus indirect on SB and no offset.
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("TEXT", &nameAddr, false) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Oct 21 15:13:08 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    					}
    				}
    			}
    		})
    	}
    }
    
    func objInfoNames(o []ObjectInfo) []string {
    	res := make([]string, len(o))
    	for i := range o {
    		res[i] = o[i].Name
    	}
    	return res
    }
    
    func TestDeleteObjectVersionMarker(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObjectVersion)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    	b, err := xml.MarshalIndent(&lc, "", "\t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var lc1 Lifecycle
    	err = xml.Unmarshal(b, &lc1)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ruleSet := make(map[string]struct{})
    	for _, rule := range lc.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ruleSet[string(ruleBytes)] = struct{}{}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 55.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding %s elements", size)
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                    } else if (last == null) {
                        // don't have enough credits/space for the first request, block until available
                        // for space there is nothing we can do, callers need to make sure that a single message fits
    
                        try {
                            final long timeout = getResponseTimeout(chain);
                            if (params.contains(RequestParam.NO_TIMEOUT)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. tests/association_generics_test.go

    		t.Fatalf("failed to find updated user: %v", err)
    	}
    
    	if len(updatedUser.Pets) != 2 {
    		t.Fatalf("expected 2 pets, got %d", len(updatedUser.Pets))
    	}
    
    	petNames := make(map[string]bool)
    	for _, pet := range updatedUser.Pets {
    		petNames[pet.Name] = true
    	}
    
    	if !petNames["original-pet"] {
    		t.Error("original pet not found")
    	}
    
    	if !petNames["new-pet"] {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
            setPathInformation(attrs & ATTR_SET_MASK, 0L, 0L);
        }
    
        /**
         * Make this file read-only. This is shorthand for {@code setAttributes(
         * getAttributes() | ATTR_READ_ONLY )}.
         *
         * @throws SmbException if an error occurs while setting the read-only flag
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VPERMPD $216, Y7, Y7 // c4e3fd01ffd8
    	// Check that LEAL is permitted to use overflowing offset.
    	LEAL 2400959708(BP)(R10*1), BP // 428dac15dcbc1b8f
    	LEAL 3395469782(AX)(R10*1), AX // 428d8410d6c162ca
    	// Make sure MOV CR/DR continues to work after changing its movtabs.
    	MOVQ CR0, AX // 0f20c0
    	MOVQ CR0, DX // 0f20c2
    	MOVQ CR4, DI // 0f20e7
    	MOVQ AX, CR0 // 0f22c0
    	MOVQ DX, CR0 // 0f22c2
    	MOVQ DI, CR4 // 0f22e7
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Feb 20 11:20:03 UTC 2025
    - 57.7K bytes
    - Viewed (0)
Back to top