Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 795 for correctly (0.21 sec)

  1. istioctl/pkg/util/proto/messageslice.go

    import (
    	"bytes"
    
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly
    type MessageSlice []proto.Message
    
    // MarshalJSON handles marshaling of slices of proto messages
    func (pSlice MessageSlice) MarshalJSON() ([]byte, error) {
    	buffer := bytes.NewBufferString("[")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 19 21:53:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
                        assertEquals(time, f.lastModified());
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

        private Map<Object, MergeableMetadata> relatedMetadata = new ConcurrentHashMap<>();
    
        /**
         * @deprecated we want to use the artifact method only, and ensure artifact.file is set
         *             correctly.
         */
        @Deprecated
        public void deploy(
                String basedir,
                String finalName,
                Artifact artifact,
                ArtifactRepository deploymentRepository,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class EscaperAsserts {
      private EscaperAsserts() {}
    
      /**
       * Asserts that an escaper behaves correctly with respect to null inputs.
       *
       * @param escaper the non-null escaper to test
       */
      public static void assertBasic(Escaper escaper) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

      var s = typeSubtype.range.last + 1
      while (s < length) {
        val parameter = PARAMETER.matchAtPolyfill(this, s)
        require(parameter != null) {
          "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\""
        }
    
        val name = parameter.groups[1]?.value
        if (name == null) {
          s = parameter.range.last + 1
          continue
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
        // Ensure that Unicode escapers behave correctly wrt badly formed input.
        String badUnicode = "\uDC00\uD800";
        try {
          escaper.escape(badUnicode);
          fail("should fail for bad Unicode");
        } catch (IllegalArgumentException e) {
          // Pass
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        @SuppressWarnings("unchecked")
        Class<E> result = classOrNull == null ? (Class<E>) (Class<?>) Object.class : classOrNull;
        return result;
      }
    
      /*
       * If I understand correctly:
       *
       * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of
       * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/HostSpecifierTest.java

        tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com"));
      }
    
      private void assertGood(String spec) throws ParseException {
        // Throws exception if not working correctly
        HostSpecifier unused = HostSpecifier.fromValid(spec);
        unused = HostSpecifier.from(spec);
        assertTrue(HostSpecifier.isValid(spec));
      }
    
      private void assertBad(String spec) {
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class EscaperAsserts {
      private EscaperAsserts() {}
    
      /**
       * Asserts that an escaper behaves correctly with respect to null inputs.
       *
       * @param escaper the non-null escaper to test
       */
      public static void assertBasic(Escaper escaper) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

        @Inject
        private RepositorySystem repoSystem;
    
        @Inject
        private LegacySupport legacySupport;
    
        /** @deprecated we want to use the artifact method only, and ensure artifact.file is set correctly. */
        @Deprecated
        public void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top