Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 883 for Seconds (0.05 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                fileFsSizeInfo.decode(buffer1.array(), 0, 24);
                long firstCapacity = fileFsSizeInfo.getCapacity();
                long firstFree = fileFsSizeInfo.getFree();
    
                // When - second decode with different values
                ByteBuffer buffer2 = ByteBuffer.allocate(24);
                buffer2.order(ByteOrder.LITTLE_ENDIAN);
                buffer2.putLong(2000L);
                buffer2.putLong(1500L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            AtomicInteger calls = new AtomicInteger();
            doAnswer(inv -> {
                int len = inv.getArgument(2);
                // First call returns len-1, second returns 1
                return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1;
            }).when(raf).read(any(byte[].class), anyInt(), anyInt());
            byte[] dst = new byte[4];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. tests/upsert_test.go

    	user.Age = 20
    	if err := DB.Create(&user).Error; err != nil {
    		t.Errorf("failed to create user, got error %v", err)
    	}
    
    	var user2 User
    	DB.First(&user2, user.ID)
    	user2.Age = 30
    	time.Sleep(time.Second)
    	if err := DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&user2).Error; err != nil {
    		t.Fatalf("failed to onconflict create user, got error %v", err)
    	} else {
    		var user3 User
    		DB.First(&user3, user.ID)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                n = 1;
            }
    
            do {
                try {
                    send(request, response, config.getNetbiosRetryTimeout());
                } catch (final InterruptedIOException ioe) {
                    // second query thread to finish gets interrupted so this is expected
                    if (log.isTraceEnabled()) {
                        log.trace("Failed to send nameservice request for " + name.name, ioe);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

          requestBody1.flush()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("stream was reset: CANCEL")
        }
        body1.awaitSuccess()
    
        // Second duplex request proceeds normally.
        val requestBody2 = (call.request().body as AsyncRequestBody?)!!.takeSink()
        requestBody2.writeUtf8("request body\n")
        requestBody2.close()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimap.java

     *   <li>a → 2
     *   <li>b → 3
     * </ul>
     *
     * <p><b>Important:</b> although the first interpretation resembles how most multimaps are
     * <i>implemented</i>, the design of the {@code Multimap} API is based on the <i>second</i> form.
     * So, using the multimap shown above as an example, the {@link #size} is {@code 3}, not {@code 2},
     * and the {@link #values} collection is {@code [1, 2, 3]}, not {@code [[1, 2], [3]]}. For those
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(1000, response.getAllocationSize());
                assertEquals(500, response.getEndOfFile());
                assertEquals(0x01, response.getFileAttributes());
    
                // Second read with different values
                byte[] buffer2 = new byte[60];
                SMBUtil.writeInt2(60, buffer2, 0);
                SMBUtil.writeInt2(2, buffer2, 2);
                SMBUtil.writeInt8(2000, buffer2, 40);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    	f.walk(ast2, ctxProg, (*File).saveExprs)
    
    	// Accumulate exported functions.
    	// The comments are only on ast1 but we need to
    	// save the function bodies from ast2.
    	// The first walk fills in ExpFunc, and the
    	// second walk changes the entries to
    	// refer to ast2 instead.
    	f.walk(ast1, ctxProg, (*File).saveExport)
    	f.walk(ast2, ctxProg, (*File).saveExport2)
    
    	f.Comments = ast1.Comments
    	f.AST = ast2
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

        }
      }
    
      /** Records that the current thread is about to wait on the specified guard. */
      @GuardedBy("lock")
      private void beginWaitingFor(Guard guard) {
        int waiters = guard.waiterCount++;
        if (waiters == 0) {
          // push guard onto activeGuards
          guard.next = activeGuards;
          activeGuards = guard;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

        Future<?> scheduled = executorService.schedule(task, delay, timeUnit);
        /*
         * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't
         * interrupt a second time after the interruption performed by TrustedListenableFutureTask.
         */
        task.addListener(() -> scheduled.cancel(false), directExecutor());
        return task;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top