Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1441 - 1450 of 1,715 for docstring (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      } catch (_: IOException) {
        false
      }
    
    internal fun Socket.peerName(): String {
      val address = remoteSocketAddress
      return if (address is InetSocketAddress) address.hostName else address.toString()
    }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          }
        }
      }
    
      /** Read a value as bytes without interpretation of its contents. */
      fun readUnknown(): ByteString {
        return source.readByteString(bytesLeft)
      }
    
      override fun toString(): String = path.joinToString(separator = " / ")
    
      companion object {
        /**
         * A synthetic value that indicates there's no more bytes. Values with equivalent data may also
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
      private static class UrlByteSourceFactory extends FileByteSourceFactory {
    
        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                }
                return type2;
            } catch (IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        public String toString() {
            String target = getTarget();
            byte[] challenge = getChallenge();
            byte[] context = getContext();
            byte[] targetInformation = getTargetInformation();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
                r.append(hexCode[(b >> 4) & 0xF]);
                r.append(hexCode[(b & 0xF)]);
            }
            return r.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              versionMatcher.describeTo(description)
              description.appendText(" expected to fail with exception that ")
              failureMatcher.describeTo(description)
    
              fail<Any>(description.toString())
            }
          }
        }
    
        fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY
    
        fun isJdk9() = getPlatformSystemProperty() == JDK9_PROPERTY
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                            public Object getValue(String expression) {
                                if ("basedir".equals(expression)) {
                                    return projectDir.toAbsolutePath().toString();
                                } else if (expression.startsWith("basedir.")) {
                                    Path basedir = projectDir.toAbsolutePath();
                                    return new ObjectBasedValueSource(basedir)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                this.predicate = artifactPredicate(source);
                this.global = global;
                this.source = source;
                this.target = target;
            }
    
            @Override
            public String toString() {
                return source + (global ? " >> " : " > ") + target;
            }
        }
    
        private static class Relocations {
            private final List<Relocation> relocations;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber")));
                result.setName(DfTypeUtil.toString(source.get("name")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

                + Objects.hashCode("foo", 3, 'c');
        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top