Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 219 for 42 (0.01 sec)

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

                when(mockCtx.supportsIntegrity()).thenReturn(true);
                when(mockCtx.calculateMIC(any(byte[].class))).thenReturn(new byte[] { 42 });
                // verifyMIC returns void; no stubbing needed
                when(mockCtx.isMICAvailable()).thenReturn(true);
    
                // Act
                useContext(mockCtx);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            request.setGlobalToolchainsSource(new StringSource(""));
            ToolchainsParseException parseException = new ToolchainsParseException("MESSAGE", 4, 2);
            doThrow(parseException).when(toolchainsReader).read(any(InputStream.class), ArgumentMatchers.anyMap());
    
            try {
                toolchainBuilder.build(request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
            // Act + Assert
            assertThrows(PACDecodingException.class, () -> new KerberosApRequest(notASequence, null));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
                // When
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
                constructor.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[38] = 0x00;
    
            // Parameter count (2 bytes)
            buffer[39] = 0x00;
            buffer[40] = 0x00;
    
            // Parameter offset (2 bytes)
            buffer[41] = 0x00;
            buffer[42] = 0x00;
    
            // Parameter displacement (2 bytes)
            buffer[43] = 0x00;
            buffer[44] = 0x00;
    
            // Data count (2 bytes)
            buffer[45] = 0x00;
            buffer[46] = 0x00;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                int[] ciphers = new int[cipherCount];
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers);
    
                assertEquals(4 + (2 * cipherCount), context.size());
            }
        }
    
        @Nested
        @DisplayName("Round-trip Tests")
        class RoundTripTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        }
    
        @Test
        @DisplayName("Test setTid sets tree ID")
        void testSetTid() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
            int treeId = 42;
    
            // When
            request.setTid(treeId);
    
            // Then
            assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. internal/lsync/lrwmutex_test.go

    }
    
    // Borrowed from rwmutex_test.go
    func TestParallelReaders(t *testing.T) {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
    	doTestParallelReaders(1, 4)
    	doTestParallelReaders(3, 4)
    	doTestParallelReaders(4, 2)
    }
    
    // Borrowed from rwmutex_test.go
    func reader(rwm *LRWMutex, numIterations int, activity *int32, cdone chan bool) {
    	for range numIterations {
    		if rwm.GetRLock(context.Background(), "", "", time.Second) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0x10B);
            when(resp.getNotifyInformation()).thenReturn(new ArrayList<>());
            setupSmb1(resp, 42);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0xFF, false);
    
            List<FileNotifyInformation> result = sut.watch();
    
            assertNotNull(result);
            verify(handle, times(1)).markClosed();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

                    }
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 6,
            "w": 6,
            "x": 0,
            "y": 42
          },
          "id": 76,
          "options": {
            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 101.9K bytes
    - Viewed (0)
Back to top