Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,952 for base (0.08 sec)

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

    import java.io.Serializable;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /** Simple base class to verify that we handle generics correctly. */
    @GwtCompatible
    @NullUnmarked
    class Base implements Comparable<Base>, Serializable {
      private final String s;
    
      public Base(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(base.resolve("")).isEqualTo(parse("http://host/a/b"))
        assertThat(base.resolve("\\path")).isEqualTo(parse("http://host/path"))
      }
    
      @Test
      fun resolveUnsupportedScheme() {
        val base = parse("http://a/")
        assertThat(base.resolve("ftp://b")).isNull()
        assertThat(base.resolve("ht+tp://b")).isNull()
        assertThat(base.resolve("ht-tp://b")).isNull()
        assertThat(base.resolve("ht.tp://b")).isNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    	if *keyHex == "" {
    		// Attempt to load private key(s)
    		n := 1
    		var base, ext string
    		base = *privKeyPath
    		if idx := strings.LastIndexByte(base, '.'); idx != -1 {
    			ext = base[idx:]
    			base = base[:idx]
    		}
    		for {
    			// Automatically read "file.ext", "file-2.ext", "file-3.ext"...
    			fn := base + ext
    			if n > 1 {
    				fn = fmt.Sprintf("%s-%d%s", base, n, ext)
    			}
    
    			if b, err := os.ReadFile(fn); err == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

            val element = WebPlatformUrlTestData()
            element.input = unescape(parts[i++])
    
            val base = if (i < parts.size) parts[i++] else null
            element.base =
              when {
                base == null || base.isEmpty() -> list[list.size - 1].base
                else -> unescape(base)
              }
    
            while (i < parts.size) {
              val piece = parts[i]
              if (piece.startsWith("#")) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            System.arraycopy(data, 0, ctx, 0x20, data.length);
    
            // Update base to point to the context area
            int offsetFieldPos = base.length - 8; // position of CreateContextsOffset
            SMBUtil.writeInt4(contextStartOffsetFromHeader, base, offsetFieldPos);
            SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4);
    
            // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    import com.google.common.base.Splitter;
    import com.google.common.base.Stopwatch;
    import com.google.common.base.Ticker;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ClassToInstanceMap;
    import com.google.common.collect.ImmutableBiMap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/UuidUtil.java

        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
         * Creates a UUID.
         *
         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/Base64.java

        }
    
        private static final String ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    
        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(final byte[] bytes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.base;
    
    import org.codelibs.fess.app.web.admin.AdminAction;
    import org.codelibs.fess.app.web.admin.dashboard.AdminDashboardAction;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Abstract base action class for handling login functionality in Fess.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top