Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 4,601 for inT (0.1 seconds)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(cause, exception.getCause());
        }
    
        @Test
        public void test_statusCode_variousHttpCodes() {
            // Test with various HTTP status codes
            int[] statusCodes = { 200, 201, 400, 401, 403, 404, 500, 502, 503 };
    
            for (int statusCode : statusCodes) {
                WebApiException exception = new WebApiException(statusCode, "Test message");
                assertEquals(statusCode, exception.getStatusCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            int written = response.writeDataWireFormat(buffer, 0);
    
            assertEquals(0, written);
        }
    
        @Test
        void testReadSetupWireFormat() {
            // Test readSetupWireFormat returns 0
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[10];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            NetShareEnum testEnum = new NetShareEnum(realConfig) {
                @Override
                protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
                    // Simulate the encoding exception path
                    return 0;
                }
            };
    
            byte[] dst = new byte[256];
            int result = testEnum.writeParametersWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // Fill resume key with test pattern
            for (int i = 0; i < 24; i++) {
                buffer[i] = (byte) (i + 1);
            }
    
            // Add context length (reserved) - 4 bytes
            buffer[24] = 0x00;
            buffer[25] = 0x00;
            buffer[26] = 0x00;
            buffer[27] = 0x00;
    
            // Decode
            int bytesConsumed = response.decode(buffer, 0, 28);
    
            // Verify
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/ACE.java

        int FILE_READ_EA = 0x00000008; // 4
        /**
         * Permission to write extended attributes
         */
        int FILE_WRITE_EA = 0x00000010; // 5
        /**
         * Permission to execute a file or traverse a directory
         */
        int FILE_EXECUTE = 0x00000020; // 6
        /**
         * Permission to delete a file or directory
         */
        int FILE_DELETE = 0x00000040; // 7
        /**
         * Permission to read file attributes
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
      public void writeBoolean(boolean v) throws IOException {
        ((DataOutputStream) out).writeBoolean(v);
      }
    
      @Override
      public void writeByte(int v) throws IOException {
        ((DataOutputStream) out).writeByte(v);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

            path = filename;
            command = SMB_COM_QUERY_INFORMATION;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            int numThreads = 8;
            int eventsPerThread = 200;
            ExecutorService executor = Executors.newFixedThreadPool(numThreads);
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch doneLatch = new CountDownLatch(numThreads);
            AtomicInteger totalDrained = new AtomicInteger(0);
    
            for (int t = 0; t < numThreads; t++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      public abstract static class Builder<E> {
        static final int DEFAULT_INITIAL_CAPACITY = 4;
    
        Builder() {}
    
        static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
            throw new AssertionError("cannot store more than MAX_VALUE elements");
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. internal/s3select/select_benchmark_test.go

    func (w *nullResponseWriter) Header() http.Header {
    	return nil
    }
    
    func (w *nullResponseWriter) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    func (w *nullResponseWriter) WriteHeader(statusCode int) {
    }
    
    func (w *nullResponseWriter) Flush() {
    }
    
    func benchmarkSelect(b *testing.B, count int, query string) {
    	requestXML := []byte(`
    <?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top