Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3051 - 3060 of 6,031 for AsString (0.06 sec)

  1. cmd/dummy-data-generator_test.go

    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    func TestDummyDataGenerator(t *testing.T) {
    	readAll := func(r io.Reader) string {
    		b, _ := io.ReadAll(r)
    		return string(b)
    	}
    	checkEq := func(a, b string) {
    		if a != b {
    			t.Fatalf("Unexpected equality failure")
    		}
    	}
    
    	checkEq(readAll(NewDummyDataGen(0, 0)), "")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/common/extensions.kt

            artifactRules = "build-receipt.properties => incoming-distributions"
        }
    }
    
    fun functionalTestExtraParameters(
        buildScanTags: List<String>,
        os: Os,
        arch: Arch,
        testJvmVersion: String,
        testJvmVendor: String
    ): String {
        val buildScanValues = mapOf(
            "coverageOs" to os.name.lowercase(),
            "coverageArch" to arch.name.lowercase(),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial008_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 434 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

        assertNull(Punycode.decode("xn--ls8h="))
      }
    
      private fun testEncodeDecode(
        unicode: String,
        punycode: String,
      ) {
        assertEquals(unicode, Punycode.decode(punycode))
        assertEquals(punycode, Punycode.encode(unicode))
      }
    
      private fun testDecodeOnly(
        unicode: String,
        punycode: String,
      ) {
        assertEquals(unicode, Punycode.decode(punycode))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          return delegate.rowMap();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        TestTable<String, Integer, Character> table = new TestTable<>();
        Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex);
        populate(synced, data);
        return synced;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEscaping(xmlEscaper, "&apos;", ch);
          } else if (shouldEscapeQuotes && ch == '"') {
            assertEscaping(xmlEscaper, "&quot;", ch);
          } else {
            String input = String.valueOf(ch);
            String escaped = xmlEscaper.escape(input);
            assertEquals(
                "char 0x" + Integer.toString(ch, 16) + " should not be escaped", input, escaped);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/Traverser.java

         *
         * @param className
         *            クラス名
         * @return 指定されたクラス名に対応するクラスファイルがこのインスタンスが扱うリソースの中に存在すれば <code>true</code>
         */
        boolean isExistClass(final String className);
    
        /**
         * このインスタンスが扱うクラスを探して {@link ClassHandler#processClass(String, String) ハンドラ}
         * をコールバックします。
         * <p>
         * インスタンス構築時にルートパッケージが指定されている場合は、 ルートパッケージ以下のクラスのみが対象となります。
         * </p>
         *
         * @param handler
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                (Object proxy, Method method, Object[] args) -> {
                                    if ("getSystemProperties".equals(method.getName())) {
                                        Map<String, String> properties = new HashMap<>();
                                        Properties env = OperatingSystemUtils.getSystemEnvVars();
                                        env.stringPropertyNames()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. docs/debugging/hash-set/main.go

    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top