Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 1,492 for eles (0.03 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

                        if (Files.deleteIfExists(file)) {
                          if (createSymlink) {
                            Files.createSymbolicLink(file, target);
                          } else {
                            Files.createDirectory(file);
                          }
                          createSymlink = !createSymlink;
                        }
                      } catch (IOException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

            // This line doesn't hold - see the Javadoc comments above.
            // assertEquals(expectedValue, oldValue);
            assertFalse(map.containsKey(keyToRemove));
            assertEquals(initialSize - 1, map.size());
          } else {
            assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
          }
          assertInvariants(map);
        }
      }
    
      abstract static class RowMapTests extends MapMapTests {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @AfterEach
        void tearDown() throws Exception {
            if (origBasedir != null) {
                System.setProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY, origBasedir);
            } else {
                System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY);
            }
        }
    
        @Test
        void testPerformProfileActivation() throws ParseException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    func TestGetIstioVirtualServicePathForSvcFromRoute(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    	if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t {
    		// Check if lastT was changed by someone else.
    		if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) {
    			// Now we swap in a new.
    			newAcc := &AccElem{}
    			old := e.cached.Swap(newAcc)
    			var a AccElem
    			a.Size = atomic.LoadInt64(&old.Size)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    	metric.Count++
    
    	metric.Avg = metric.Sum / float64(metric.Count)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

      private void checkWeightWithWeigher() {
        if (weigher == null) {
          checkState(maximumWeight == UNSET_INT, "maximumWeight requires weigher");
        } else {
          if (strictParsing) {
            checkState(maximumWeight != UNSET_INT, "weigher requires maximumWeight");
          } else {
            if (maximumWeight == UNSET_INT) {
              LoggerHolder.logger.log(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                    final Object o = array[i];
                    if (o != null) {
                        if (o.equals(obj)) {
                            return i;
                        }
                    } else if (obj == null) {
                        return i;
    
                    }
                }
            }
            return -1;
        }
    
        /**
         * 配列中から値が最初に見つかったインデックスを返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         */
        protected static Calendar toCalendar(final Date date, final Locale locale) {
            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * 文字列を{@link java.sql.Date}に変換します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
                        return order;
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top