Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 2,060 for Results (0.04 seconds)

  1. internal/http/listener.go

    func (listener *httpListener) Accept() (conn net.Conn, err error) {
    	select {
    	case result := <-listener.acceptCh:
    		if result.err != nil {
    			return nil, result.err
    		}
    		return deadlineconn.New(result.conn).WithReadDeadline(listener.opts.IdleTimeout).WithWriteDeadline(listener.opts.IdleTimeout), result.err
    	case <-listener.ctxDoneCh:
    	}
    	return nil, syscall.EINVAL
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. internal/config/lambda/event/arn_test.go

    		{ARN{TargetID{"1", "webhook"}, "us-east-1"}, "arn:minio:s3-object-lambda:us-east-1:1:webhook"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.arn.String()
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestParseARN(t *testing.T) {
    	testCases := []struct {
    		s           string
    		expectedARN *ARN
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                    // Normal part
                    inCompression = false;
                    if (result.length() > 0 && result.charAt(result.length() - 1) != ':') {
                        result.append(":");
                    }
                    result.append(normalized[i]);
                }
            }
    
            return result.toString();
        }
    
        /**
         * Generates a URL-safe host string from an InetAddress.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/LexicographicalOrdering.java

        while (left.hasNext()) {
          if (!right.hasNext()) {
            return LEFT_IS_GREATER; // because it's longer
          }
          int result = elementOrder.compare(left.next(), right.next());
          if (result != 0) {
            return result;
          }
        }
        if (right.hasNext()) {
          return RIGHT_IS_GREATER; // because it's longer
        }
        return 0;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/LexicographicalOrdering.java

        while (left.hasNext()) {
          if (!right.hasNext()) {
            return LEFT_IS_GREATER; // because it's longer
          }
          int result = elementOrder.compare(left.next(), right.next());
          if (result != 0) {
            return result;
          }
        }
        if (right.hasNext()) {
          return RIGHT_IS_GREATER; // because it's longer
        }
        return 0;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific user setting by ID.
         *
         * @param id the ID of the user setting to retrieve
         * @return JSON response containing the user setting
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

        }
    
        @Override
        public void afterSuite(final TestDescriptor suite, TestResult result) {
            Descriptor descriptor = Descriptor.of(suite);
    
            try {
                // if the test suite failed, report all captured output
                if (result.getResultType().equals(TestResult.ResultType.FAILURE)) {
                    EventWriter eventWriter = eventWriters.get(descriptor);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific key match setting by ID.
         *
         * @param id the ID of the key match setting to retrieve
         * @return JSON response containing the key match setting
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/ResourcesTest.java

              public List<String> getResult() {
                return collector;
              }
            };
        List<String> result = Resources.readLines(resource, US_ASCII, collectAndLowercaseAndTrim);
        assertEquals(3600, result.size());
        assertThat(result.get(0)).isEqualTo("ALICE'S ADVENTURES IN WONDERLAND");
        assertThat(result.get(result.size() - 1)).isEqualTo("THE END");
      }
    
      public void testCopyToOutputStream() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            String pipeName = "\\\\pipe\\testPipe";
            TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
    
            String result = pipe.toString();
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipe"), "toString should contain class name");
            assertTrue(result.contains(pipeName), "toString should contain pipe name");
        }
    
        @Test
        public void testMultiplePipeNames() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top