Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,443 for expected (0.06 sec)

  1. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Bytes.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. tests/preload_test.go

    		t.Errorf("failed to create org, got err: %v", err)
    	}
    
    	tests := []struct {
    		name     string
    		preloads map[string][]interface{}
    		expect   Org
    	}{
    		{
    			name:     "address country",
    			preloads: map[string][]interface{}{"Address.Country": {}},
    			expect: Org{
    				ID: org.ID,
    				PostalAddress: EmbeddedAddress{
    					ID:        org.PostalAddress.ID,
    					Name:      org.PostalAddress.Name,
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		b.Run(tt.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for b.Loop() {
    				ts, err := parsePAXTime(tt.in)
    				if (err == nil) != tt.ok {
    					if err != nil {
    						b.Fatal(err)
    					}
    					b.Fatal("expected error")
    				}
    				if !ts.Equal(tt.want) {
    					b.Fatalf("time mismatch: got %v, want %v", ts, tt.want)
    				}
    			}
    		})
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

    /**
     * Manages a dictionary file for stemmer overrides.
     * This class handles reading, parsing, and updating files that contain
     * stemmer override rules, where each rule maps an input word to an
     * output stem. The file format is expected to be `input => output`.
     *
     * The class provides methods for retrieving, adding, updating, and
     * deleting stemmer override items, as well as reloading the dictionary
     * from its source file.
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                String result = themeHelper.getThemeName(artifact);
                // May not throw exception but return unexpected result
                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true); // Expected exception
            }
        }
    
        public void test_getJarFile_exists() throws IOException {
            // Create a mock jar file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

            this.tlsVersions = tlsVersions.copyOf() as Array<String> // Defensive copy.
          }
    
        @Deprecated(
          "since OkHttp 3.13 all TLS-connections are expected to support TLS extensions.\n" +
            "In a future release setting this to true will be unnecessary and setting it to false\n" +
            "will have no effect.",
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      }
    
      private fun makeSynchronousCall(call: Call): Thread {
        val thread =
          Thread {
            try {
              call.execute()
              throw AssertionError()
            } catch (expected: IOException) {
            }
          }
        thread.start()
        return thread
      }
    
      private fun newRequest(url: String): Request = Request.Builder().url(url).build()
    
      private fun newRequest(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

        // java.net.MalformedURLException: unknown protocol: mailto
        platform.assumeNotAndroid()
    
        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
        val javaNetUrl = URL("mailto:******@****.***")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎
    
    ///
    
    The dependencies will keep working as expected, and the **best part** is that the **type information will be preserved**, which means that your editor will be able to keep providing you with **autocompletion**, **inline errors**, etc. The same for other tools like `mypy`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(0, SMBUtil.readInt2(buffer, 2));
    
            // Reserved (4 bytes) - The implementation skips writing these bytes,
            // so they will have the initial pattern (0xCCCCCCCC)
            // This is expected behavior as seen in the implementation at line 131
            assertEquals((byte) 0xCC, buffer[4]);
            assertEquals((byte) 0xCC, buffer[5]);
            assertEquals((byte) 0xCC, buffer[6]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top