Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 5,478 for newA (0.02 seconds)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        updateItems.add(item);
                    }
                    final SuggestWriterResult result =
                            suggestWriter.write(client, settings, index, updateItems.toArray(new SuggestItem[updateItems.size()]), false);
                    if (result.hasFailure()) {
                        throw new SuggestIndexException(result.getFailures().get(0));
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 34.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            List<Element> header = children(tr, "td");
            if (header.size() < 1) {
                throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header));
            }
            Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>();
            List<Element> valueTitles = new ArrayList<Element>();
            for (int i = 1; i < header.size(); i++) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MoreCollectors.java

        return (Collector) TO_OPTIONAL;
      }
    
      private static final Object NULL_PLACEHOLDER = new Object();
    
      private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT =
          Collector.<@Nullable Object, ToOptionalState, @Nullable Object>of(
              ToOptionalState::new,
              (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o),
              ToOptionalState::combine,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                    throw new CIFSException("Failed to decrypt MIC", e);
                }
            }
    
            final int expectSeq = this.verifySequence.getAndIncrement();
            if (expectSeq != seq) {
                throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq));
            }
    
            final byte[] verify = new byte[8];
            System.arraycopy(mic, 4, verify, 0, 8);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  5. src/test/java/jcifs/SmbWatchHandleTest.java

         */
        @Test
        void testConcurrentWatch() throws Exception {
            // Create a thread-safe implementation
            SmbWatchHandle concurrentHandle = new SmbWatchHandle() {
                private final Object lock = new Object();
                private int watchCount = 0;
    
                @Override
                public List<FileNotifyInformation> watch() throws CIFSException {
                    synchronized (lock) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  6. android/guava-tests/test/com/google/common/math/MathTesting.java

      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
          new Function<Long, BigInteger>() {
            @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        MockWebServer server = new MockWebServer();
        server.useHttps(sslContext.getSocketFactory(), false);
        server.setDispatcher(this);
        server.start(port);
      }
    
      @Override public MockResponse dispatch(RecordedRequest request) {
        String path = request.getPath();
        try {
          if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            Thread[] threads = new Thread[THREAD_COUNT];
            final boolean[] success = new boolean[THREAD_COUNT];
    
            for (int i = 0; i < THREAD_COUNT; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        // Each thread performs operations on the response
                        byte[] buffer = new byte[100];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            // Test String array
            final String[] arr = new String[] { "a", "b", "c" };
            binary = SerializeUtil.fromObjectToBinary(arr);
            final String[] result = (String[]) SerializeUtil.fromBinaryToObject(binary);
            assertEquals(arr.length, result.length);
            assertEquals(arr[0], result[0]);
    
            // Test ArrayList
            final List<String> list = new ArrayList<>();
            list.add("item1");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            int access = 0x01;
            IOException expectedException = new IOException("Network error");
            // Simulate IOException during RPC call
            doThrow(expectedException).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class));
    
            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
            });
    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)
Back to Top