Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 4,826 for new1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // io types
              .put(InputStream.class, new ByteArrayInputStream(new byte[0]))
              .put(ByteArrayInputStream.class, new ByteArrayInputStream(new byte[0]))
              .put(Readable.class, new StringReader(""))
              .put(Reader.class, new StringReader(""))
              .put(StringReader.class, new StringReader(""))
              .put(Buffer.class, ByteBuffer.allocate(0))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. .teamcity/scripts/FindCommits.java

            Objects.requireNonNull(cmd, "cmd");
            if (cmd.length == 0) throw new IllegalArgumentException("cmd must not be empty");
            ProcessBuilder pb = new ProcessBuilder(cmd);
            Process p = pb.start();
            String out = readFully(p.getInputStream());
            String err = readFully(p.getErrorStream());
            int code = p.waitFor();
            return new ExecResult(code, out, err);
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         */
        public static JarFile create(final String file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new JarFile(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Creates and returns a <code>JarFile</code> to read the specified JAR file.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            }
    
            Artifact artifact = new DefaultArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getClassifier(),
                    null,
                    dependency.getVersion(),
                    props,
                    stereotype);
    
            List<Exclusion> exclusions = new ArrayList<>(dependency.getExclusions().size());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. src/bytes/reader.go

    }
    
    // UnreadRune complements [Reader.ReadRune] in implementing the [io.RuneScanner] interface.
    func (r *Reader) UnreadRune() error {
    	if r.i <= 0 {
    		return errors.New("bytes.Reader.UnreadRune: at beginning of slice")
    	}
    	if r.prevRune < 0 {
    		return errors.New("bytes.Reader.UnreadRune: previous operation was not ReadRune")
    	}
    	r.i = int64(r.prevRune)
    	r.prevRune = -1
    	return nil
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jul 16 18:17:37 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("permissions", "Radmin-api");
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("permissions", "Radmin-api2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 12 02:18:38 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/Platform.java

        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/Platform.java

        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. internal/ringbuffer/ring_buffer_benchmark_test.go

    	"strings"
    	"testing"
    )
    
    func BenchmarkRingBuffer_Sync(b *testing.B) {
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	for b.Loop() {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactHashSet} containing those elements (minus duplicates)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
Back to Top