Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 5,478 for newE (0.02 seconds)

  1. android/guava/src/com/google/common/collect/Cut.java

        Comparable<?> endpoint() {
          throw new IllegalStateException("range unbounded on this side");
        }
    
        @Override
        boolean isLessThan(Comparable<?> value) {
          return true;
        }
    
        @Override
        BoundType typeAsLowerBound() {
          throw new IllegalStateException();
        }
    
        @Override
        BoundType typeAsUpperBound() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Arrange
            String server = "testServer";
            int access = 123;
    
            doThrow(new IOException("Network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java

        public void test_get() {
            final SmbAuthenticationHolder smbAuthenticationHolder = new SmbAuthenticationHolder();
            final SmbAuthentication hogeAuth = new SmbAuthentication();
            hogeAuth.setServer("hoge");
            smbAuthenticationHolder.add(hogeAuth);
            final SmbAuthentication fugaAuth = new SmbAuthentication();
            fugaAuth.setServer("fuga");
            smbAuthenticationHolder.add(fugaAuth);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

            })
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

            this.commandRegistries = new ArrayList<>();
        }
    
        public void addCommandRegistry(CommandRegistry commandRegistry) {
            requireNonNull(commandRegistry, "commandRegistry");
            this.commandRegistries.add(commandRegistry);
        }
    
        public CommandRegistry[] getCommandRegistries() {
            return commandRegistries.toArray(new CommandRegistry[0]);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    return new LongItem(buf);
                }
                return new BigIntegerItem(buf);
            }
            return new StringItem(buf, false);
        }
    
        private static String stripLeadingZeroes(String buf) {
            if (buf == null || buf.isEmpty()) {
                return "0";
            }
            for (int i = 0; i < buf.length(); ++i) {
                char c = buf.charAt(i);
                if (c != '0') {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                // Serialize
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                ObjectOutputStream oos = new ObjectOutputStream(baos);
                oos.writeObject(original);
                oos.close();
    
                // Deserialize
                ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
                ObjectInputStream ois = new ObjectInputStream(bais);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(SafeTreeSetTest.class);
        suite.addTest(
            NavigableSetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new SafeTreeSet<>(asList(elements));
                      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

        private final Map<String, T> classes = new TreeMap<>();
    
        @SuppressWarnings("unchecked")
        public void load(File repoFile) {
            try {
                FileInputStream inputStream = new FileInputStream(repoFile);
                try {
                    ObjectInputStream objInputStream = new ObjectInputStream(new BufferedInputStream(inputStream));
                    classes.clear();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top