Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 214 for assignment (0.07 seconds)

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

                assertEquals((short) 0, unicodeString.maximum_length);
                assertNull(unicodeString.buffer);
            }
    
            @Test
            @DisplayName("Should handle basic unicode string field assignments")
            void testUnicodeStringBasicFields() {
                // Given: A unicode string
                rpc.unicode_string unicodeString = new rpc.unicode_string();
    
                // When: Setting values
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  2. internal/ioutil/ioutil.go

    	}
    	if !fi1.ModTime().Equal(fi2.ModTime()) {
    		return false
    	}
    	if fi1.Mode() != fi2.Mode() {
    		return false
    	}
    	return fi1.Size() == fi2.Size()
    }
    
    // DirectioAlignSize - DirectIO alignment needs to be 4K. Defined here as
    // directio.AlignSize is defined as 0 in MacOS causing divide by 0 error.
    const DirectioAlignSize = 4096
    
    // CopyAligned - copies from reader to writer using the aligned input
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. cmd/data-scanner-metric.go

    	actions        [lifecycle.ActionCount]uint64
    	actionsLatency [lifecycle.ActionCount]lockedLastMinuteLatency
    
    	// currentPaths contains (string,*currentPathTracker) for each disk processing.
    	// Alignment not required.
    	currentPaths sync.Map
    
    	cycleInfoMu sync.Mutex
    	cycleInfo   *currentScannerCycle
    }
    
    var globalScannerMetrics scannerMetrics
    
    const (
    	// START Realtime metrics, that only to records
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            final int p = offset % getPadding();
            if (p == 0) {
                return 0;
            }
            return getPadding() - p;
        }
    
        /**
         * Gets the padding size for alignment
         * @return padding size
         */
        public int getPadding() {
            return PADDING_SIZE;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(1, notifications.size());
            assertEquals(action, notifications.get(0).getAction());
        }
    
        @Test
        @DisplayName("Should handle notification chain with alignment")
        void testNotificationChainAlignment() throws Exception {
            // Given - notifications must be 4-byte aligned
            byte[] buffer = new byte[1024];
            int offset = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                    byte[] buffer = new byte[256];
                    int encodedSize = req.encode(buffer, 0);
    
                    // Verify 8-byte alignment
                    assertEquals(0, encodedSize % 8, "Encoded size should be 8-byte aligned for name length " + nameLen);
                }
            }
    
            @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
     *
     * [iana_tls_parameters]: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
     * [sslengine]: https://developer.android.com/reference/javax/net/ssl/SSLEngine.html
     * [oracle_providers]: https://docs.oracle.com/javase/10/security/oracle-providers.htm
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.setIndex(0);
            int val = ndrBuffer.dec_ndr_short() & 0xFFFF;
            assertEquals(0xABCD, val);
            assertEquals(2, ndrBuffer.getIndex());
    
            // Test with offset and alignment
            ndrBuffer.setIndex(1);
            ndrBuffer.enc_ndr_short(0x1234);
            assertEquals(4, ndrBuffer.getIndex()); // Aligned from 1 to 2, then advanced by 2
            assertEquals(4, ndrBuffer.getLength());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                verify(mockBuffer).dec_ndr_long(); // assoc group
                verify(mockBuffer).advance(10); // secondary addr (length 10)
                verify(mockBuffer, times(2)).align(4); // alignment calls
                verify(mockBuffer).dec_ndr_small(); // num results
                verify(mockBuffer).advance(20); // transfer syntax / version
    
                // Verify result was set
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. internal/rest/client.go

    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    	// is online or offline.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top