Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2911 - 2920 of 6,434 for fstring (0.05 seconds)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
        @DisplayName("Unknown DOS error code yields empty Optional")
        void testUnknownCode() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

        private Language language;
    
        private String moduleName;
    
        @Override
        public ProjectScope scope() {
            return (scope != null) ? scope : SourceRoot.super.scope();
        }
    
        @Override
        public Language language() {
            return (language != null) ? language : SourceRoot.super.language();
        }
    
        @Override
        public Optional<String> module() {
            return Optional.ofNullable(moduleName);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

        if (failures.isNotEmpty()) {
          for (failure in failures) {
            println(failure)
          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
        assertThat(url?.host, name = comment ?: input).isEqualTo(output)
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

      fun runMain(className: String) {
        val mainMethod =
          Class
            .forName(className)
            .methods
            .find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. cmd/data-usage-cache_test.go

    	tests := []struct {
    		sizes []int64
    		want  map[string]uint64
    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/DataConfigPager.java

        public String available;
    
        /** Search/filter parameter for data configuration sort order. */
        public String sortOrder;
    
        /** Search/filter parameter for data configuration creator. */
        public String createdBy;
    
        /** Search/filter parameter for data configuration creation time. */
        public String createdTime;
    
        /** Search/filter parameter for data configuration version number. */
        public String versionNo;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(expected, info.toString());
        }
    
        // Test cases for Trans2FindFirst2Response class
        @Test
        void testReadString_Unicode() throws UnsupportedEncodingException {
            response.useUnicode = true;
            String expected = "test";
            byte[] src = expected.getBytes("UTF-16LE");
            String result = response.readString(src, 0, src.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/rule.go

    // or under <filter><and></and></filter>. This method returns the prefix from the
    // location where it is available.
    func (r Rule) GetPrefix() string {
    	if p := r.Prefix.String(); p != "" {
    		return p
    	}
    	if p := r.Filter.Prefix.String(); p != "" {
    		return p
    	}
    	if p := r.Filter.And.Prefix.String(); p != "" {
    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_internal.h

      std::unordered_map<tensorflow::string, tensorflow::Node*> name_map
          TF_GUARDED_BY(mu);
    
      // The keys of this map are all the active sessions using this graph. Each
      // value records whether the graph has been mutated since the corresponding
      // session has been run (this is detected in RecordMutation function). If the
      // string is empty, no mutation has occurred. Otherwise the string is a
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Click Count (0)
  10. src/cmd/api/testdata/src/pkg/p2/p2.go

    // license that can be found in the LICENSE file.
    
    package p2
    
    type Twoer interface {
    	// Deprecated: No good.
    	PackageTwoMeth()
    }
    
    // Deprecated: No good.
    func F() string {}
    
    func G() Twoer {}
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 337 bytes
    - Click Count (0)
Back to Top