Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 153 for getNotes (0.07 sec)

  1. guava-tests/test/com/google/common/io/TestCharSink.java

      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
        this.byteSink = new TestByteSink(options);
      }
    
      public String getString() {
        return new String(byteSink.getBytes(), UTF_8);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return byteSink.wasStreamOpened();
      }
    
      @Override
      public boolean wasStreamClosed() {
        return byteSink.wasStreamClosed();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            }
    
            return hashString.toString().hashCode();
    
            // BASE64Encoder b64 = new BASE64Encoder();
            // return b64.encode( hashString.toString().getBytes() ).hashCode();
        }
    
        // ---------------------------------------------------------------------
        // ---------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteArrayDataOutput.java

      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
       *     UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}.
       */
      @Deprecated
      @Override
      void writeBytes(String s);
    
      /** Returns the contents that have been written to this instance, as a byte array. */
      byte[] toByteArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertTrue(Arrays.equals(ASCII.getBytes(US_ASCII), Files.toByteArray(asciiFile)));
        assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.toByteArray(i18nFile)));
        assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.asByteSource(i18nFile).read()));
      }
    
      /** A {@link File} that provides a specialized value for {@link File#length()}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

            }
    
            return newDictionaryFile(encodePath(path), path, timestamp);
        }
    
        protected String encodePath(final String path) {
            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
        }
    
        protected boolean isTarget(final String path) {
            return pattern.matcher(path).find();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

            this.hashCode = this.content.hashCode();
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
         * Gets the content of this source.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
                size += domainBytes.length;
            }
    
            String userName = getUser();
            byte[] userBytes = null;
            if ( userName != null && userName.length() != 0 ) {
                userBytes = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oemCp);
                size += userBytes.length;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          @Override
          public CharSource createSource(String string) throws IOException {
            return factory.createSource(string.getBytes(UTF_8)).asCharSource(UTF_8);
          }
    
          @Override
          public String getExpected(String data) {
            return new String(factory.getExpected(data.getBytes(UTF_8)), UTF_8);
          }
    
          @Override
          public void tearDown() throws IOException {
            factory.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                try {
                    domain = DEFAULT_DOMAIN.getBytes(UNI_ENCODING);
                } catch (IOException ex) { }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
Back to top