Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 390 for copied (0.34 sec)

  1. internal/dsync/drwmutex_test.go

    	expected := false
    	if locked != expected {
    		t.Errorf("TestDualWriteLockTimedOut(): \nexpected %#v\ngot      %#v", expected, locked)
    	}
    }
    
    // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use DRWMutex)
    
    // Borrowed from rwmutex_test.go
    func parallelReader(ctx context.Context, m *DRWMutex, clocked, cunlock, cdone chan bool) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                        }
    
                        i = i == 1 ? 0 : 1;
                        off += read;
                    }
    
                    if (log.isDebugEnabled()) {
                        log.debug(String.format("Copied a total of %d bytes", off));
                    }
    
                    if (dh.isSMB2()) {
                        final Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
       * the given array.
       *
       * @param array the array to copy elements from
       * @throws NullPointerException if array is null
       */
      public AtomicDoubleArray(double[] array) {
        int len = array.length;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                assertEquals(1, testResponse.getDecodeCallCount());
                assertNotNull(testResponse.getData());
                assertEquals(length, testResponse.getData().length);
    
                // Verify data was copied correctly
                for (int i = 0; i < length; i++) {
                    assertEquals(testBuffer[10 + i], testResponse.getData()[i]);
                }
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/value_test.go

    	}
    }
    
    func TestValue_bytesToFloat(t *testing.T) {
    	type fields struct {
    		value any
    	}
    	tests := []struct {
    		name   string
    		fields fields
    		want   float64
    		wantOK bool
    	}{
    		// Copied from TestValue_bytesToInt.
    		{
    			name: "zero",
    			fields: fields{
    				value: []byte("0"),
    			},
    			want:   0,
    			wantOK: true,
    		},
    		{
    			name: "minuszero",
    			fields: fields{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/PairedStats.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
       * other using {@code second = new PairedStatsAccumulator().addAll(first).snapshot()}, if both
       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                expr = expr.substring(2, expr.length() - 1);
            }
            return expr;
        }
    
        @Override
        public File alignToBaseDirectory(File file) {
            // TODO Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a
            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

                <p>If a module name is specified for resources or script files,
                then this value modifies the directory where the files will be copied.
                For example, if a Java module name is "foo.biz", then the {@code foo/bar.properties}
                resource file will be copied as {@code foo.biz/foo/bar.properties}.</p>
    
                <p>This element can be combined with the {@code targetVersion} element for specifying sources,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            @Test
            @DisplayName("Should handle partial copy operations")
            void testPartialCopyOperation() throws SMBProtocolDecodingException {
                // Simulate partial copy where not all requested bytes were copied
                byte[] buffer = createValidCopyChunkResponse(3, // Only 3 chunks written (maybe less than requested)
                        65536, // 64KB per chunk
                        196608 // 192KB total (3 * 64KB)
                );
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    func append(slice []Type, elems ...Type) []Type
    
    // The copy built-in function copies elements from a source slice into a
    // destination slice. (As a special case, it also will copy bytes from a
    // string to a slice of bytes.) The source and destination may overlap. Copy
    // returns the number of elements copied, which will be the minimum of
    // len(src) and len(dst).
    func copy(dst, src []Type) int
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top