Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for formatString (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(false, 0, 8, TYPE_GOAWAY, FLAG_NONE))
          .isEqualTo(">> 0x00000000     8 GOAWAY        ")
      }
    
      /** Window update frames have special formatting.  */
      @Test
      fun windowUpdateFrames() {
        assertThat(frameLogWindowUpdate(false, 0, 4, Int.MAX_VALUE.toLong()))
          .isEqualTo(">> 0x00000000     4 WINDOW_UPDATE 2147483647")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. istioctl/pkg/util/formatting/formatter_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package formatting
    
    import (
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/url"
    )
    
    func TestFormatter_PrintLog(t *testing.T) {
    	g := NewWithT(t)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/testdata/config_dump.json

                            "on_new_connection": [
                              {
                                "object_key": "envoy.filters.listener.original_dst.local_ip",
                                "format_string": {
                                  "text_format_source": {
                                    "inline_string": "%FILTER_STATE(envoy.filters.listener.original_dst.local_ip:PLAIN)%"
                                  }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 54.8K bytes
    - Viewed (0)
  5. src/archive/tar/strconv_test.go

    		got := make([]byte, len(v.want))
    		f.formatNumeric(got, v.in)
    		ok := (f.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("formatNumeric(%d): got formatting failure, want success", v.in)
    			} else {
    				t.Errorf("formatNumeric(%d): got formatting success, want failure", v.in)
    			}
    		}
    		if string(got) != v.want {
    			t.Errorf("formatNumeric(%d): got %q, want %q", v.in, got, v.want)
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

      public void run() throws Exception {
        Map<String, String> requestBody = new LinkedHashMap<>();
        requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
        RequestBody jsonRequestBody = RequestBody.create(
            mapJsonAdapter.toJson(requestBody), MEDIA_TYPE_JSON);
        Request request = new Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Provider
    public interface Log {
        /**
         * {@return true if the <b>debug</b> error level is enabled}
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     *
     * @deprecated Use SLF4J directly
     */
    @Deprecated
    public interface Log {
        /**
         * @return true if the <b>debug</b> error level is enabled
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    + Make commits of logical units.
    + Respect the original code style: by using the same [codestyle][code-style],
      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sun Oct 10 09:48:27 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. javadoc-stylesheet.css

    }
    /*
    Content styles
    */
    .description pre {
        margin-top:0;
    }
    .deprecatedContent {
        margin:0;
        padding:10px 0;
    }
    .docSummary {
        padding:0;
    }
    /*
    Formatting effect styles
    */
    .sourceLineNo {
        color:green;
        padding:0 30px 0 0;
    }
    h1.hidden {
        visibility:hidden;
        overflow:hidden;
        font-size:.9em;
    }
    .block {
        display:block;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 17 21:01:06 UTC 2013
    - 11.2K bytes
    - Viewed (0)
Back to top