Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 919 for get2 (0.03 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> dest = newHashMap();
            BeanUtil.copyBeanToMap(src, dest);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            assertThat(dest.get("bbb"), is(nullValue()));
            assertThat(dest.get("ccc"), is((Object) "ccc"));
            assertThat(dest.get("ddd"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    	AssertAssociationCount(t, user, "Pets", 5, "AfterAppendSlice")
    
    	// Replace
    	pet2 := Pet{Name: "pet-has-many-replace"}
    
    	if err := DB.Model(&user2).Association("Pets").Replace(&pet2); err != nil {
    		t.Fatalf("Error happened when append pet, got %v", err)
    	}
    
    	if pet2.ID == 0 {
    		t.Fatalf("pet2's ID should be created")
    	}
    
    	user.Pets = []*Pet{&pet2}
    	CheckUser(t, user2, user)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    		},
    		{
    			// Gets compacted...
    			path:   "bucket/dir1",
    			size:   1302010,
    			objs:   5,
    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			// Gets compacted at this level...
    			path:   "bucket/dirwithalot/0",
    			size:   filesBelowT,
    			objs:   filesBelowT,
    			oSizes: sizeHistogram{0: filesBelowT},
    		},
    		{
    			// Gets compacted at this level (below obj threshold)...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/notification.go

    		if err != nil {
    			reply[index].Errors = []string{fmt.Sprintf("%s: %s (rpc)", sys.peerClients[index].String(), err.Error())}
    		}
    	}
    	return reply
    }
    
    // GetResourceMetrics - gets the resource metrics from all nodes excluding self.
    func (sys *NotificationSys) GetResourceMetrics(ctx context.Context) <-chan MetricV2 {
    	if sys == nil {
    		return nil
    	}
    	g := errgroup.WithNErrs(len(sys.peerClients))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Verify.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // A task should have been scheduled
        assertTrue(fakePool.hasNext());
        e.execute(intCounter);
        // Our executor hasn't run any tasks yet.
        assertEquals(0, totalCalls.get());
        fakePool.runAll();
        assertEquals(2, totalCalls.get());
        // Queue is empty so no runner should be scheduled.
        assertFalse(fakePool.hasNext());
    
        // Check that execute can be safely repeated
        e.execute(intCounter);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      public final int length() {
        return longs.length();
      }
    
      /**
       * Gets the current value at position {@code i}.
       *
       * @param i the index
       * @return the current value
       */
      public final double get(int i) {
        return longBitsToDouble(longs.get(i));
      }
    
      /**
       * Atomically sets the element at position {@code i} to the given value.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * @deprecated Use {@link com.google.common.collect.Sets#intersection(Set, Set)} instead.
       */
      @Deprecated
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    
      private FeatureUtil() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. cmd/bucket-replication-handlers.go

    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	durationStr := r.URL.Query().Get("older-than")
    	arn := r.URL.Query().Get("arn")
    	resetID := r.URL.Query().Get("reset-id")
    	if resetID == "" {
    		resetID = mustGetUUID()
    	}
    	var (
    		days time.Duration
    		err  error
    	)
    	if durationStr != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // A task should have been scheduled
        assertTrue(fakePool.hasNext());
        e.execute(intCounter);
        // Our executor hasn't run any tasks yet.
        assertEquals(0, totalCalls.get());
        fakePool.runAll();
        assertEquals(2, totalCalls.get());
        // Queue is empty so no runner should be scheduled.
        assertFalse(fakePool.hasNext());
    
        // Check that execute can be safely repeated
        e.execute(intCounter);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top