- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for Eq (0.19 sec)
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
mockedNtlmAuthenticator.when(NtlmAuthenticator::getDefault).thenReturn(mockNtlmAuthenticator); mockedNtlmAuthenticator.when(() -> NtlmAuthenticator.requestNtlmPasswordAuthentication(eq(mockNtlmAuthenticator), eq("locationHint"), eq((SmbAuthException) null))).thenReturn(mockNtlmPasswordAuthenticator); // Perform the renewal boolean renewed = wrapper.renewCredentials("locationHint", null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
clause/where_test.go
}}, "SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?", []interface{}{"1", "jinzhu", 18}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Where{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 6.2K bytes - Viewed (0) -
clause/expression_test.go
}{{ Expressions: []clause.Expression{ clause.Eq{Column: column, Value: "column-value"}, }, ExpectedVars: []interface{}{"column-value"}, Result: "`column-name` = ?", }, { Expressions: []clause.Expression{ clause.Eq{Column: column, Value: nil}, clause.Eq{Column: column, Value: (*string)(nil)}, clause.Eq{Column: column, Value: (*int)(nil)}, clause.Eq{Column: column, Value: (*bool)(nil)},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 10 05:34:33 UTC 2023 - 8.4K bytes - Viewed (0) -
cmd/postpolicyform_test.go
success: false, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(treeConnection.send(eq(resourceLoc), eq(request), eq(response), any(RequestParam[].class))).thenReturn(response); CommonServerMessageBlockResponse out = handle.send(request, response, RequestParam.NO_RETRY); assertSame(response, out); verify(treeConnection).send(eq(resourceLoc), eq(request), eq(response), any(RequestParam[].class)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbFileHandleImpl hA = id1 != null ? new SmbFileHandleImpl(cfg, id1, tA, "//eq/a", 0, 0, 0, 0, 0L) : new SmbFileHandleImpl(cfg, 33, tA, "//eq/a", 0, 0, 0, 0, 0L); SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L) : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L); if (expectEqual) { assertEquals(hA, hB);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
clause/expression.go
builder.WriteByte(')') } } // Eq equal to for where type Eq struct { Column interface{} Value interface{} } func (eq Eq) Build(builder Builder) { builder.WriteQuoted(eq.Column) switch eq.Value.(type) { case []string, []int, []int32, []int64, []uint, []uint32, []uint64, []interface{}: rv := reflect.ValueOf(eq.Value) if rv.Len() == 0 { builder.WriteString(" IN (NULL)")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Oct 10 06:45:48 UTC 2023 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
doThrow(new jcifs.CIFSException("invalid dfs name")).when(transport) .getDfsReferrals(eq(ctx), eq(emptyName), any(), any(), anyInt()); assertThrows(jcifs.CIFSException.class, () -> transport.getDfsReferrals(ctx, emptyName, "h", "d", 1)); verify(transport).getDfsReferrals(eq(ctx), eq(emptyName), eq("h"), eq("d"), eq(1)); } // Edge case: test with null name @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(internal.getSmbSession(eq(ctx), eq("server.test"), isNull())).thenReturn(session); when(session.unwrap(SmbSessionInternal.class)).thenReturn(session); when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree); when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree); doReturn(mockTransport).when(poolSpy).getSmbTransport(eq(ctx), eq(address), anyInt(), eq(false), anyBoolean());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
assertDoesNotThrow(() -> sidResolver.resolveSids(mockContext, testServerName, testSids, 0, 3)); } @Test void testResolveSidsWithOffsetAndLength_SingleElement() throws CIFSException { doNothing().when(sidResolver).resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), eq(2), eq(1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0)