Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 2,488 for unit (0.09 sec)

  1. utils/utils_test.go

    			}
    		})
    	}
    }
    
    type ModifyAt sql.NullTime
    
    // Value return a Unix time.
    func (n ModifyAt) Value() (driver.Value, error) {
    	if !n.Valid {
    		return nil, nil
    	}
    	return n.Time.Unix(), nil
    }
    
    func TestAssertEqual(t *testing.T) {
    	now := time.Now()
    	assertEqualTests := []struct {
    		name     string
    		src, dst interface{}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.io.BaseEncoding.base16;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.Table;
    import com.google.common.testing.NullPointerTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            findLatest("groovy", "org.codehaus.groovy:groovy:[3.0,4.0)", versionProperties)
            findLatest("junit", "junit:junit:(4.0,)", versionProperties)
            findLatest("junit-jupiter", "org.junit.jupiter:junit-jupiter-api:(5,)", versionProperties)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. internal/auth/credentials.go

    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    	case json.Number:
    		expAt, err = exp.Int64()
    	case time.Duration:
    		expAt, err = time.Now().UTC().Add(exp).Unix(), nil
    	case nil:
    		expAt, err = 0, nil
    	default:
    		expAt, err = 0, ErrInvalidDuration
    	}
    	if expAt < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

    import static com.google.common.graph.Graphs.hasCycle;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableList;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link Graphs#hasCycle(Graph)} and {@link Graphs#hasCycle(Network)}. */
    // TODO(user): Consider moving this to GraphsTest.
    @RunWith(JUnit4.class)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    Variables may also be initialized using functions named <code>init</code>
    declared in the package block, with no arguments and no result parameters.
    </p>
    
    <pre>
    func init() { … }
    </pre>
    
    <p>
    Multiple such functions may be defined per package, even within a single
    source file. In the package block, the <code>init</code> identifier can
    be used only to declare <code>init</code> functions, yet the identifier
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.it.CrawlTestBase;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.RestAssured;
    import io.restassured.path.json.JsonPath;
    import io.restassured.response.Response;
    
    /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.22.md

    - The flag `--experimental-patches` is now deprecated and will be removed in a future release. You can migrate to using the new flag `--patches`. Add a new field `{Init|Join}Configuration.patches.directory` that can be used for the same purpose. For `init` and `join` it is now recommended that you migrate to configure patches via `{Init|Join}Configuration.patches.directory`. For the time being, these flags can be mixed with `--config`, but that might change in the future. On a command line, the last...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrudTestBase.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.AfterEach;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.it.CrawlTestBase;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.RestAssured;
    import io.restassured.path.json.JsonPath;
    
    /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top