Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for writeBuf (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            return protwordsService.getProtwordsFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadProtwordsFile(GLOBAL),
                                () -> downloadpage(form.dictId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

            return stemmerOverrideService.getStemmerOverrideFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadStemmeroverrideFile(GLOBAL),
                                () -> downloadpage(form.dictId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            return charMappingService.getCharMappingFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadMappingFile(GLOBAL),
                                () -> downloadpage(form.dictId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            return kuromojiService.getKuromojiFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL),
                                () -> downloadpage(form.dictId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            return synonymService.getSynonymFile(form.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL),
                                () -> downloadpage(form.dictId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

          try {
            output.writeShort(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeUTF(String s) {
          try {
            output.writeUTF(s);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public byte[] toByteArray() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. cmd/notification.go

    				return nil
    			}
    
    			for typ, data := range data {
    				// zip writer only handles one concurrent write
    				writeMu.Lock()
    				profilingDataFound = true
    				err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", client.host.String(), typ), data, 0o600)
    				writeMu.Unlock()
    				if err != nil {
    					reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", client.host.String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                b[ j++ ] = (byte) ( c[ i ] >>> 8 );
                b[ j++ ] = (byte) ( c[ i ] >>> 0 );
            }
            write(b, 0, blen);
        }
    
    
        @Override
        public final void writeUTF ( String str ) throws SmbException {
            int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for ( int i = 0; i < len; i++ ) {
                ch = str.charAt(i);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
Back to top