Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 696 for resets (0.11 seconds)

  1. internal/s3select/csv/record.go

    	}
    
    	return sql.FromBytes([]byte(r.csvRecord[index])), nil
    }
    
    // Set - sets the value for a column name.
    func (r *Record) Set(name string, value *sql.Value) (sql.Record, error) {
    	r.columnNames = append(r.columnNames, name)
    	r.csvRecord = append(r.csvRecord, value.CSVString())
    	return r, nil
    }
    
    // Reset data in record.
    func (r *Record) Reset() {
    	if len(r.columnNames) > 0 {
    		r.columnNames = r.columnNames[:0]
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

    ) : BasePublicSuffixList() {
      override fun listSource(): Source {
        val assets = PlatformRegistry.applicationContext?.assets
    
        if (assets == null) {
          if (Build.FINGERPRINT == null) {
            throw IOException(
              "Platform applicationContext not initialized. " +
                "Possibly running Android unit test without Robolectric. " +
                "Android tests should run with Robolectric " +
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
            verify(req, atLeastOnce()).reset();
            verify(resp, atLeastOnce()).reset();
            // Verify disconnect was called on retry
            verify(c, atLeastOnce()).disconnect(eq(true));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/TestByteSink.java

      }
    
      @Override
      public boolean wasStreamClosed() {
        return outputStreamClosed;
      }
    
      @Override
      public OutputStream openStream() throws IOException {
        outputStreamOpened = true;
        bytes.reset(); // truncate
        return new Out();
      }
    
      private final class Out extends TestOutputStream {
    
        Out() throws IOException {
          super(bytes, options);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. internal/s3select/select.go

    	case csvFormat:
    		// Use bufio Writer to prevent csv.Writer from allocating a new buffer.
    		bufioWriter := bufioWriterPool.Get()
    		defer func() {
    			bufioWriter.Reset(xioutil.Discard)
    			bufioWriterPool.Put(bufioWriter)
    		}()
    
    		bufioWriter.Reset(buf)
    		opts := sql.WriteCSVOpts{
    			FieldDelimiter: []rune(s3Select.Output.CSVArgs.FieldDelimiter)[0],
    			Quote:          []rune(s3Select.Output.CSVArgs.QuoteCharacter)[0],
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

        byte[] txn_buf;
    
        /* for doNetEnum and doFindFirstNext */
        int status;
        int numEntries;
        FileEntry[] results;
    
        SmbComTransactionResponse() {
            txn_buf = null;
        }
    
        @Override
        void reset() {
            super.reset();
            bufDataStart = 0;
            isPrimary = hasMore = true;
            parametersDone = dataDone = false;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. internal/s3select/simdj/reader_amd64_test.go

    				}
    
    				if !bytes.Equal(gotB.Bytes(), wantB.Bytes()) {
    					t.Errorf("CSV output mismatch.\nwant: %s(%x)\ngot:  %s(%x)", wantB.String(), wantB.Bytes(), gotB.String(), gotB.Bytes())
    				}
    				gotB.Reset()
    				wantB.Reset()
    
    				err = rec.WriteJSON(&gotB)
    				if err != nil {
    					t.Error(err)
    				}
    				err = want.WriteJSON(&wantB)
    				if err != nil {
    					t.Error(err)
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. pom.xml

    					<properties>
    						<year>2025</year>
    					</properties>
    					<headerDefinitions>
    						<headerDefinition>https://www.codelibs.org/assets/license/header-definition-2.xml</headerDefinition>
    					</headerDefinitions>
    					<licenseSets>
    						<licenseSet>
    							<header>https://www.codelibs.org/assets/license/header.txt</header>
    							<includes>
    								<include>src/**/*.java</include>
    							</includes>
    						</licenseSet>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Dec 20 04:15:34 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. cmd/bitrot.go

    		return errFileCorrupt
    	}
    
    	bufp := xioutil.ODirectPoolSmall.Get()
    	defer xioutil.ODirectPoolSmall.Put(bufp)
    
    	for left > 0 {
    		// Read expected hash...
    		h.Reset()
    		n, err := io.ReadFull(r, hashBuf)
    		if err != nil {
    			// Read's failed for object with right size, file is corrupt.
    			return err
    		}
    		// Subtract hash length..
    		left -= int64(n)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.maxDataCount = 16384;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        public void reset(final int key, final String lastN) {
            super.reset();
            this.lastName = lastN;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top