Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 8,116 for FOR (0.01 sec)

  1. src/bytes/example_test.go

    }
    
    func ExampleLines() {
    	text := []byte("Hello\nWorld\nGo Programming\n")
    	for line := range bytes.Lines(text) {
    		fmt.Printf("%q\n", line)
    	}
    
    	// Output:
    	// "Hello\n"
    	// "World\n"
    	// "Go Programming\n"
    }
    
    func ExampleSplitSeq() {
    	s := []byte("a,b,c,d")
    	for part := range bytes.SplitSeq(s, []byte(",")) {
    		fmt.Printf("%q\n", part)
    	}
    
    	// Output:
    	// "a"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

    /*
     *  Licensed to the Apache Software Foundation (ASF) under one or more
     *  contributor license agreements.  See the NOTICE file distributed with
     *  this work for additional information regarding copyright ownership.
     *  The ASF licenses this file to You under the Apache License, Version 2.0
     *  (the "License"); you may not use this file except in compliance with
     *  the License.  You may obtain a copy of the License at
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            List<User> users = new ArrayList<>();
            for (int i = 0; i < 5; i++) {
                users.add(createTestUser("user" + i, "User " + i));
            }
    
            for (User user : users) {
                chain.delete(user);
            }
    
            assertEquals(5, chain.deleteCalls.size());
            for (int i = 0; i < 5; i++) {
                assertEquals(users.get(i), chain.deleteCalls.get(i));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
    
            int[] offsets = { 0, 1, 10, 50, 100 };
    
            for (int offset : offsets) {
                byte[] buffer = new byte[200];
                // Fill buffer with pattern to ensure proper writing
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) 0xFF;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                });
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Then - should complete without errors
            assertTrue(true, "Concurrent setFileId calls should complete without issues");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertTrue(result > 0);
            assertEquals((byte) 0x04, dst[0]); // First buffer format byte
    
            // Find the second buffer format byte
            int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
        }
    
        /**
         * Test writeBytesWireFormat with Unicode encoding
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                        isFinished.set(true);
                    }
    
                    for (final SearchHit hit : hits) {
                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (limitOfDocumentSize > 0) {
                            long size = 0;
                            for (final String field : supportedFields) {
                                final Object value = source.get(field);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sample;
    
    import com.squareup.moshi.JsonAdapter;
    import com.squareup.moshi.Moshi;
    import com.squareup.moshi.Types;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

            }
    
            @Test
            void messagesAlignWithCodes() {
                for (int i = 0; i < WinError.WINERR_CODES.length; i++) {
                    int code = WinError.WINERR_CODES[i];
                    String message = WinError.WINERR_MESSAGES[i];
                    assertNotNull(message, String.format("Message for code %d should not be null", code));
                }
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top