Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 246 for Position (0.05 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertEquals(5, skipped);
            assertEquals(5L, raf.getFilePointer());
            assertEquals(0, raf.skipBytes(-3));
        }
    
        @Test
        @DisplayName("seek() and getFilePointer(): set and get position")
        void seek_and_getFilePointer() throws Exception {
            SmbRandomAccessFile raf = newInstance("r", false, false, false);
            raf.seek(123L);
            assertEquals(123L, raf.getFilePointer());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            byte[] nameBytes = serverName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, 15);
            buffer[15] = 0; // null terminator at position 15
            bufferIndex += 16;
    
            // Write version
            buffer[bufferIndex++] = 6;
            buffer[bufferIndex++] = 1;
    
            // Write type
            SMBUtil.writeInt4(0, buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    // ParseGo populates f with information learned from the Go source code
    // which was read from the named file. It gathers the C preamble
    // attached to the import "C" comment, a list of references to C.xxx,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Shorts.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Shorts.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * This method always compares the full length of both arrays, regardless of when
         * differences are found, making the execution time independent of the position
         * of differing characters.
         *
         * @param a first char array to compare
         * @param b second char array to compare
         * @return true if arrays are equal, false otherwise
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Given - buffer with padding before actual data
                ByteBuffer buffer = ByteBuffer.allocate(42);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.position(10); // Add 10 bytes of padding
                buffer.putLong(2048L);
                buffer.putLong(1024L);
                buffer.putLong(1024L);
                buffer.putInt(4);
                buffer.putInt(4096);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * successful input futures. The list of results is in the same order as the input list, and if
       * any of the provided futures fails or is canceled, its corresponding position will contain
       * {@code null} (which is indistinguishable from the future having a successful value of {@code
       * null}).
       *
       * <p>The list of results is in the same order as the input list.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should calculate padding")
            void testPad8() {
                testMessage.encode(new byte[1024], 0);
                // After header is written, padding depends on position
                int headerStart = testMessage.getHeaderStart();
                assertEquals(0, headerStart); // Should start at 0
            }
        }
    
        @Nested
        @DisplayName("Encode/Decode Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top