Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CheckReturnValue (0.15 sec)

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

            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
      private static class UrlByteSourceFactory extends FileByteSourceFactory {
    
        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
        public ByteSource createSource(byte[] bytes) throws IOException {
          super.createSource(bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkFactories.java

            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
      private static class UrlByteSourceFactory extends FileByteSourceFactory {
    
        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
        public ByteSource createSource(byte[] bytes) throws IOException {
          super.createSource(bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

          return Optional.of((long) length);
        }
    
        @Override
        public byte[] read() {
          return Arrays.copyOfRange(bytes, offset, offset + length);
        }
    
        @SuppressWarnings("CheckReturnValue") // it doesn't matter what processBytes returns here
        @Override
        @ParametricNullness
        public <T extends @Nullable Object> T read(ByteProcessor<T> processor) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top