Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for raw (0.77 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

      public void run() throws Exception {
        File file = new File("README.md");
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(file, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
            checkArgument(
                fromParameterizedType.getRawType().equals(toParameterizedType.getRawType()),
                "Inconsistent raw type: %s vs. %s",
                fromParameterizedType,
                to);
            Type[] fromArgs = fromParameterizedType.getActualTypeArguments();
            Type[] toArgs = toParameterizedType.getActualTypeArguments();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/ForwardingCacheTest.java

      private Cache<String, Boolean> mock;
    
      @SuppressWarnings({"unchecked", "DoNotMock"}) // mock
      @Override
      public void setUp() throws Exception {
        super.setUp();
        /*
         * Class parameters must be raw, so we can't create a proxy with generic
         * type arguments. The created proxy only records calls and returns null, so
         * the type is irrelevant at runtime.
         */
        mock = mock(Cache.class);
        forward =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Entry<K, V> nefariousMapEntry(K key, V value) {
        return new Entry<K, V>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

              if (x * i == n) return factor(x) + " × " + i;
            }
            return Integer.toString(n);
          }
        };
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

                }
            }
            cookey( kn, KnL );
        }
    
        private void cookey( int[] raw, int KnL[] )     {
            int raw0, raw1;
            int rawi, KnLi;
            int i;
    
            for ( i = 0, rawi = 0, KnLi = 0; i < 16; ++i )   {
                raw0 = raw[rawi++];
                raw1 = raw[rawi++];
                KnL[KnLi]  = (raw0 & 0x00fc0000) <<   6;
                KnL[KnLi] |= (raw0 & 0x00000fc0) <<  10;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        static Model transform(Model model, MavenProject project) {
            String packaging = model.getPackaging();
            if (POM_PACKAGING.equals(packaging)) {
                // raw to consumer transform
                model = model.withRoot(false).withModules(null);
                if (model.getParent() != null) {
                    model = model.withParent(model.getParent().withRelativePath(null));
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    
    import java.util.*;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts raw javadoc comments into docbook.
     */
    public class JavadocConverter {
        private static final Pattern HEADER_PATTERN = Pattern.compile("h(\\d)", Pattern.CASE_INSENSITIVE);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
Back to top