- Sort Score
- Result 10 results
- Languages All
Results 1091 - 1100 of 2,488 for unit (0.02 sec)
-
internal/disk/stat_solaris.go
package disk import ( "errors" "fmt" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := unix.Statvfs_t{} if err = unix.Statvfs(path, &s); err != nil { return Info{}, err } reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail) info = Info{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
import org.apache.maven.model.root.RootLocator; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; /** */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
@Override public synchronized void init() { if (smbAuthenticationHolder != null) { return; } if (logger.isDebugEnabled()) { logger.debug("Initializing SmbClient..."); } super.init(); // smb auth final SmbAuthenticationHolder holder = new SmbAuthenticationHolder();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
import com.google.common.collect.testing.AbstractCollectionTester; import java.util.Set; import org.junit.Ignore; /** * @author George van den Driessche */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/BouncyCastleTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import mockwebserver3.MockWebServer import okhttp3.TestUtil.assumeNetwork import okhttp3.testing.PlatformRule import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class BouncyCastleTest { @JvmField @RegisterExtension var platform = PlatformRule() @JvmField @RegisterExtension
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java
} return new EventSpyRepositoryListener(this, listener); } public void init(EventSpy.Context context) { if (eventSpies.isEmpty()) { return; } for (EventSpy eventSpy : eventSpies) { try { eventSpy.init(context); } catch (Exception | LinkageError e) { logError("initialize", e, eventSpy); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
* limitations under the License. */ package com.google.common.util.concurrent.testing; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.ListeningScheduledExecutorService; import java.util.List; import java.util.concurrent.Callable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.core.lang.ThreadUtil; import org.codelibs.fess.helper.PluginHelper.Artifact; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Tag;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 01 02:20:48 UTC 2024 - 6.3K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
import okhttp3.Request import okhttp3.sse.EventSource import okhttp3.sse.EventSources.createFactory import okhttp3.testing.PlatformRule import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension import org.junitpioneer.jupiter.RetryingTest @Tag("Slowish") class EventSourceHttpTest {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
*/ package com.google.common.graph; import com.google.common.collect.Ordering; import java.util.Arrays; import java.util.Collection; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for a directed {@link ImmutableNetwork}. */ @AndroidIncompatible @RunWith(Parameterized.class)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0)