Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 217 for Prepare (0.04 sec)

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

            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
            LsaPolicyHandle policy = mock(LsaPolicyHandle.class);
    
            // Prepare input SIDs
            SID s1 = sid("S-1-5-21-1-2-3-1001");
            SID s2 = sid("S-1-5-21-1-2-3-1002");
            jcifs.SID[] in = new jcifs.SID[] { s1, s2 };
    
            // Stub sendrecv to emulate successful RPC response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameTest.java

            // Verify total length includes scope
            assertEquals(33 + name.scope.length() + 2, length);
        }
    
        @Test
        void readWireFormat_shouldDecodeNameCorrectly() {
            // Prepare encoded data for "TEST" with type 0x20
            byte[] src = new byte[100];
            src[0] = 0x20; // First byte
    
            // Encode "TEST" (0x54 0x45 0x53 0x54)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. cmd/http-stats.go

    		s3InputBytes:         s.getS3InputBytes(),         // Traffic S3 received
    		s3OutputBytes:        s.getS3OutputBytes(),        // Traffic S3 sent
    	}
    }
    
    // Prepare new ConnStats structure
    func newConnStats() *connStats {
    	return &connStats{}
    }
    
    type bucketS3RXTX struct {
    	s3InputBytes  uint64
    	s3OutputBytes uint64
    }
    
    type bucketHTTPAPIStats struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of readParameterWordsWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Prepare a buffer with sample data.
            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. internal/hash/checksum_test.go

    			}
    			if tt.fullobj {
    				chksm.Type |= ChecksumFullObject
    			}
    
    			// CRC64NVME is always full object
    			if chksm.Type.Base().Is(ChecksumCRC64NVME) {
    				chksm.Type |= ChecksumFullObject
    			}
    
    			// Prepare the checksum map with appropriate headers
    			m := chksm.AsMap()
    			m[xhttp.AmzChecksumAlgo] = chksm.Type.String() // Set the algorithm explicitly
    			if chksm.Type.FullObjectRequested() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. internal/stmt_store/stmt_store.go

    	defer close(cacheStmt.prepared)
    
    	// Prepare the SQL statement using the provided connection.
    	cacheStmt.Stmt, err = conn.PrepareContext(ctx, key)
    	if err != nil {
    		// If statement preparation fails, record the error and remove the invalid Stmt object from the cache.
    		cacheStmt.prepareErr = err
    		s.Delete(key)
    		return &Stmt{}, err
    	}
    
    	// Return the successfully prepared Stmt object.
    	return cacheStmt, nil
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatalf("Prepare Erasure backend failed - %v", err)
    	}
    	setObjectLayer(obj)
    	defer obj.Shutdown(t.Context())
    	defer removeRoots(disks)
    
    	type tamperKind int
    	const (
    		noTamper tamperKind = iota
    		deletePart
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                return null;
            }
    
            // Null-safety: use empty map if paramMap is null
            final Map<String, Object> safeParamMap = paramMap != null ? paramMap : Collections.emptyMap();
    
            // Prepare binding map with parameters and DI container
            final Map<String, Object> bindingMap = new HashMap<>(safeParamMap);
            bindingMap.put("container", SingletonLaContainerFactory.getContainer());
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            assertSame(tr, session.transport());
        }
    
        @Test
        void sendResetsResponseAndForwards() throws Exception {
            SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
            // prepare a dummy request/response using a real SMB block type
            ServerMessageBlock req = new SmbComOpenAndX("test.txt", 0, 0, null);
            ServerMessageBlock resp = new SmbComOpenAndX("test.txt", 0, 0, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          // nulls are usually out of bounds for a subset, so ban them altogether
          for (Object o : elements) {
            if (o == null) {
              throw new NullPointerException();
            }
          }
    
          // prepare extreme values to be filtered out of view
          E firstExclusive = delegate.belowSamplesGreater();
          E lastExclusive = delegate.aboveSamplesLesser();
          if (from != Bound.NO_BOUND) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top