Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 1,848 for lengths (0.12 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Mock implementation for testing
            }
    
            @Override
            protected int doReceiveFragment(byte[] buf) throws IOException {
                return doReceiveFragmentReturn;
            }
    
            @Override
            protected int doSendReceiveFragment(byte[] out, int off, int length, byte[] inB) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                            allocations.incrementAndGet();
    
                            assertNotNull(buffer, "Buffer should not be null");
                            assertTrue(buffer.length > 0, "Buffer should have positive length");
    
                            // Test release performance
                            long releaseStart = System.nanoTime();
                            BufferCache.releaseBuffer(buffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            SsoLoginException exception = new SsoLoginException("Stack trace test");
            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify the top of the stack trace is from this test class
            StackTraceElement topElement = stackTrace[0];
            assertEquals(this.getClass().getName(), topElement.getClassName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	}
    
    	var n int
    	if len(sep) > 0 {
    		if len(sep) >= maxInt/(len(s)-1) {
    			panic("bytes: Join output length overflow")
    		}
    		n += len(sep) * (len(s) - 1)
    	}
    	for _, v := range s {
    		if len(v) > maxInt-n {
    			panic("bytes: Join output length overflow")
    		}
    		n += len(v)
    	}
    
    	b := bytealg.MakeNoZero(n)[:n:n]
    	bp := copy(b, s[0])
    	for _, v := range s[1:] {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. tests/query_test.go

    		t.Errorf("errors happened when query find with in clause and zero length parameter: %v, length: %v", err, len(none))
    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    	user := *GetUser("query_with_association", Config{Account: true, Pets: 2, Toys: 1, Company: true, Manager: true, Team: 2, Languages: 1, Friends: 3})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create user: %v", err)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                final String key = entry.getKey();
                if (key.startsWith(CRAWLER_PARAM_PREFIX)) {
                    factoryParamMap.put(key.substring(CRAWLER_PARAM_PREFIX.length()), entry.getValue());
                }
            }
    
            // user agent
            final String userAgent = paramMap.get(CRAWLER_USERAGENT);
            if (StringUtil.isNotBlank(userAgent)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/custom-response.md

    * `status_code` – Ein `int`-HTTP-Statuscode.
    * `headers` – Ein `dict` von Strings.
    * `media_type` – Ein `str`, der den Medientyp angibt. Z. B. `"text/html"`.
    
    FastAPI (eigentlich Starlette) fügt automatisch einen Content-Length-Header ein. Außerdem wird es einen Content-Type-Header einfügen, der auf dem media_type basiert, und für Texttypen einen Zeichensatz (charset) anfügen.
    
    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/SingletonContext.java

            }
            final Properties p = new Properties();
            try {
                final String filename = System.getProperty("jcifs.properties");
                if (filename != null && filename.length() > 1) {
    
                    try (FileInputStream in = new FileInputStream(filename)) {
                        p.load(in);
                    }
                }
    
            } catch (final IOException ioe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
        return "application/octet-stream";
      }
    
      public static void main(String[] args) throws Exception {
        if (args.length != 4) {
          System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>");
          return;
        }
    
        String keystoreFile = args[0];
        String password = args[1];
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/BufferCache.java

         *
         * @param buf the buffer to return to the cache
         */
        static public void releaseBuffer(final byte[] buf) {
            // Validate buffer before returning to cache
            if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) {
                return; // Silently ignore invalid buffers
            }
    
            // Only cache if we haven't reached the limit - O(1) check
            if (queueSize.get() < MAX_BUFFERS) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top