Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for writeIndex (0.27 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndexTest.groovy

            1 * writeIndex.lookup("key") >> null
            1 * readIndex.lookup("key")
    
            when:
            twoStageIndex.lookup("other")
    
            then:
            1 * writeIndex.lookup("other") >> Stub(CachedExternalResource)
            0 * readIndex._
        }
    
        def "clearing delegates to the writable cache"() {
            when:
            twoStageIndex.clear("key")
    
            then:
            1 * writeIndex.clear("key")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializer.java

                } else {
                    encoder.writeBoolean(false);
                }
                Integer idx = writeIndex.get(container);
                if (idx == null) {
                    // new value
                    encoder.writeSmallInt(writeIndex.size());
                    writeIndex.put(container, writeIndex.size());
                    delegate.write(encoder, container);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                } catch (FileNotFoundException e) {
                    throw new UncheckedIOException(e);
                }
            }
    
            @Override
            public void close() {
                output.close();
                writeIndex();
            }
    
            public void onOutput(long classId, TestOutputEvent outputEvent) {
                onOutput(classId, 0, outputEvent);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            if ( cmd == SMB_COM_READ_ANDX ) {
                return cfg.getBatchLimit("WriteAndX.ReadAndX");
            }
            if ( cmd == SMB_COM_CLOSE ) {
                return cfg.getBatchLimit("WriteAndX.Close");
            }
            return 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

        private static final int READ_ANDX_BATCH_LIMIT =
                                Config.getInt( "jcifs.smb1.smb.client.WriteAndX.ReadAndX", 1 );
        private static final int CLOSE_BATCH_LIMIT =
                                Config.getInt( "jcifs.smb1.smb.client.WriteAndX.Close", 1 );
    
        private int fid,
            remaining,
            dataLength,
            dataOffset,
            off;
        private byte[] b;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            this.remaining = remaining;
            this.b = b;
            this.off = off;
            count = len;
            digest = null; /* otherwise recycled commands
                            * like writeandx will choke if session
                            * closes in between */
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( fid, dst, dstIndex );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            this.b = b;
            this.off = off;
            this.count = len;
            this.digest = null; /*
                                 * otherwise recycled commands
                                 * like writeandx will choke if session
                                 * closes in between
                                 */
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
Back to top