Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 689 for rewrite (0.09 sec)

  1. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        @Override
        protected void update(byte b) {
          out.write(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          out.write(b, off, len);
        }
    
        byte[] bytes() {
          return out.toByteArray();
        }
    
        void assertBytes(byte[] expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/sftp-server_test.go

    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	userReq := madmin.PolicyAssociationReq{
    		Policies: []string{"readwrite"},
    		User:     accessKey,
    	}
    	if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil {
    		c.Fatalf("Unable to attach policy: %v", err)
    	}
    
    	newSSHCon := newSSHConnMock(accessKey + "=svc")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        writer: DerWriter,
        value: T,
      ) {
        if (typeHint) {
          writer.typeHint = value
        }
    
        if (isOptional && value == defaultValue) {
          // Nothing to write!
          return
        }
    
        writer.write(name, tagClass, tag) {
          codec.encode(writer, value)
        }
      }
    
      /**
       * Returns a copy with a context tag. This should be used when the type is ambiguous on its own.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. .github/workflows/stale-issues.yml

    permissions:
      contents: read
    
    jobs:
      close-issues:
        # Don't do this in forks
        if: github.repository == 'tensorflow/tensorflow'
        runs-on: ubuntu-latest
        permissions:
          issues: write
          pull-requests: write
        steps:
          - name: Awaiting response issues
            uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
            with:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. cmd/namespace-lock.go

    		delete(n.lockMap, resource)
    	}
    }
    
    // dsync's distributed lock instance.
    type distLockInstance struct {
    	rwMutex *dsync.DRWMutex
    	opsID   string
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            }
    
            try {
                write(uploadFile.getAbsolutePath(), form.designFile.getFileData());
                final String currentFileName = fileName;
                saveInfo(messages -> messages.addSuccessUploadDesignFile(GLOBAL, currentFileName));
            } catch (final Exception e) {
                logger.error("Failed to write an image file: {}", fileName, e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testNullWriter() throws Exception {
        // create a null writer
        Writer nullWriter = CharStreams.nullWriter();
        // write to the writer
        nullWriter.write('n');
        String test = "Test string for NullWriter";
        nullWriter.write(test);
        nullWriter.write(test, 2, 10);
        nullWriter.append(null);
        nullWriter.append(null, 0, 4);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      public void testNullWriter() throws Exception {
        // create a null writer
        Writer nullWriter = CharStreams.nullWriter();
        // write to the writer
        nullWriter.write('n');
        String test = "Test string for NullWriter";
        nullWriter.write(test);
        nullWriter.write(test, 2, 10);
        nullWriter.append(null);
        nullWriter.append(null, 0, 4);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            bits: Int,
          ) {
            var value = value
            // Write the raw value for a single byte value.
            if (value < prefixMask) {
              out.writeByte(bits or value)
              return
            }
    
            // Write the mask to start a multibyte value.
            out.writeByte(bits or prefixMask)
            value -= prefixMask
    
            // Write 7 bits at a time 'til we're done.
            while (value >= 0x80) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. .github/workflows/issue-metadata.yml

    name: Check issues metadata
    
    on:
      issues:
        types: [ opened, unlabeled, closed ]
    
    permissions: {}
    
    jobs:
      check_issue_metadata:
        permissions:
          issues: write
        runs-on: ubuntu-latest
        steps:
          # Check that issues have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/issue-metadata.ts
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 17 13:58:59 UTC 2024
    - 429 bytes
    - Viewed (0)
Back to top