Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 796 for set_op (0.06 seconds)

  1. doc/go_mem.html

    </p>
    
    <pre>
    var a string
    var once sync.Once
    
    func setup() {
    	a = "hello, world"
    }
    
    func doprint() {
    	once.Do(setup)
    	print(a)
    }
    
    func twoprint() {
    	go doprint()
    	go doprint()
    }
    </pre>
    
    <p>
    calling <code>twoprint</code> will call <code>setup</code> exactly
    once.
    The <code>setup</code> function will complete before either call
    of <code>print</code>.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  2. generics.go

    		assocModel     = reflect.New(rel.FieldSchema.ModelType).Interface()
    		fkNil          = map[string]any{}
    		setMap         = make(map[string]any, len(op.Set))
    		ownerPKNames   []string
    		ownerFKNames   []string
    		primaryColumns []any
    		foreignColumns []any
    	)
    
    	for _, a := range op.Set {
    		setMap[a.Column.Name] = a.Value
    	}
    
    	for _, ref := range rel.References {
    		fkNil[ref.ForeignKey.DBName] = nil
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

    /**
     * @author shinsuke
     *
     */
    public class ExtractorFactoryTest extends PlainTestCase {
        public ExtractorFactory extractorFactory;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("tikaExtractor", TikaExtractor.class)//
                    .singleton("pdfExtractor", PdfExtractor.class)//
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
            auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass");
    
            // Initialize ServerData to avoid NullPointerException
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. .github/workflows/go-lint.yml

        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.24.x]
            os: [ubuntu-latest]
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Build on ${{ matrix.os }}
            if: matrix.os == 'ubuntu-latest'
            env:
              CGO_ENABLED: 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 1010 bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacGroupTest.java

    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    /**
     * @author Gregory Kick
     */
    @NullUnmarked
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private RuntimeWrapper runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(RuntimeWrapper.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
        verify(runtimeMock).exit(1);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

        @Mock
        private SmbFile mockFile2;
    
        private LeaseManager baseLeaseManager;
        private DirectoryLeaseManager directoryLeaseManager;
        private AutoCloseable mocks;
    
        @BeforeEach
        public void setUp() throws Exception {
            mocks = MockitoAnnotations.openMocks(this);
    
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/FileNotifyInformationTest.java

     */
    @TestInstance(TestInstance.Lifecycle.PER_CLASS)
    public class FileNotifyInformationTest {
    
        @Mock
        private FileNotifyInformation mockFileNotifyInfo;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Nested
        @DisplayName("Filter Flags Constants Tests")
        class FilterFlagsTests {
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  10. .github/workflows/maven.yml

        - master
        - "*.x"
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
        env:
          PARENT_BRANCH: main
    
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 21
          uses: actions/setup-java@v4
          with:
            java-version: '21'
            distribution: 'temurin'
        - uses: actions/cache@v4
          with:
            path: ~/.m2/repository
            key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top