Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 4,154 for inst (0.03 seconds)

  1. internal/logger/targets.go

    // a single log entry and Send it to the log target
    //
    //	e.g. Send the log to a http server
    type Target interface {
    	String() string
    	Endpoint() string
    	Stats() types.TargetStats
    	Init(ctx context.Context) error
    	IsOnline(ctx context.Context) bool
    	Cancel()
    	Send(ctx context.Context, entry any) error
    	Type() types.TargetType
    }
    
    type targetsList struct {
    	list []Target
    	mu   sync.RWMutex
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

                public String getCrawlerFileProtocols() {
                    return "file";
                }
            });
    
            final ProtocolHelper protocolHelper = new ProtocolHelper();
            protocolHelper.init();
    
            int originalLength = protocolHelper.getWebProtocols().length;
            protocolHelper.addWebProtocol("");
            assertEquals(originalLength + 1, protocolHelper.getWebProtocols().length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        // Security information flag constants for testing
        private static final int OWNER_SECURITY_INFORMATION = 0x00000001;
        private static final int GROUP_SECURITY_INFORMATION = 0x00000002;
        private static final int DACL_SECURITY_INFORMATION = 0x00000004;
        private static final int SACL_SECURITY_INFORMATION = 0x00000008;
        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            @DisplayName("Should encode at various buffer positions")
            @ValueSource(ints = { 0, 1, 10, 50, 70 })
            void testEncodeAtDifferentPositions(int position) {
                // Given
                byte[] largeBuffer = new byte[200];
                long sourceOffset = 12345L;
                long targetOffset = 67890L;
                int length = 99999;
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest req2 = new Smb2TreeDisconnectRequest(mockConfig);
    
            // Then - all should have same command
            int cmd1 = (int) commandField.get(req1);
            int cmd2 = (int) commandField.get(req2);
    
            assertEquals(cmd1, cmd2);
            assertEquals(SMB2_TREE_DISCONNECT, cmd1);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      }
    
      private static void checkHmac(String expected, HashFunction hashFunc, byte[] data) {
        assertEquals(HashCode.fromString(expected), hashFunc.hashBytes(data));
      }
    
      private static byte[] fillByteArray(int size, int toFillWith) {
        byte[] array = new byte[size];
        Arrays.fill(array, (byte) toFillWith);
        return array;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Test with different buffer sizes and indices
            int[][] configs = { { 100, 0 }, { 1024, 50 }, { 4096, 2000 }, { 65536, 32768 } };
    
            for (int[] config : configs) {
                byte[] dst = new byte[config[0]];
                int dstIndex = config[1];
    
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should calculate size for various lock counts")
            @ValueSource(ints = { 0, 1, 2, 5, 10, 20, 50, 100 })
            void testSizeWithVariousLockCounts(int lockCount) {
                Smb2Lock[] locks = new Smb2Lock[lockCount];
                for (int i = 0; i < lockCount; i++) {
                    locks[i] = new Smb2Lock(i * 100L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  9. utils/utils.go

    package utils
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    func sourceDir(file string) string {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/request-files.md

    * `write(daten)`: Schreibt `daten` (`str` oder `bytes`) in die Datei.
    * `read(anzahl)`: Liest `anzahl` (`int`) bytes/Zeichen aus der Datei.
    * `seek(versatz)`: Geht zur Position `versatz` (`int`) in der Datei.
        * z. B. würde `await myfile.seek(0)` zum Anfang der Datei gehen.
        * Das ist besonders dann nützlich, wenn Sie `await myfile.read()` einmal ausführen und dann diese Inhalte erneut auslesen müssen.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.3K bytes
    - Click Count (0)
Back to Top